lib/run-time/feathers/extract-items.js
function extractAllItems (result) {
  if (!result) return null;

  if (!Array.isArray(result)) result = ('data' in result) ? result.data : result;
  if (!result) return null;
  
  if (!Array.isArray(result)) result = [result];

  return result;
}
function extractAllItems (result) {
  if (!result) return null;

  if (!Array.isArray(result)) result = ('data' in result) ? result.data : result;
  if (!result) return null;
  
  if (!Array.isArray(result)) result = [result];

  return result;
}
function extractAllItems ( result ) { if ( ! result ) return null ; if ( ! Array . isArray ( result ) ) result = ( 'data' in result ) ? result . data : result ; if ( ! result ) return null ; if ( ! Array . isArray ( result ) ) result = [ result ] ; return result ; }
Return an array of objects from a Feathers service call.
Return an array of objects from a Feathers service call .