PK

ADDRLIN : /home/questend/public_html/domains/flaxzy.com/node_modules/collect.js/src/helpers/
FLL :
Current File : /home/questend/public_html/domains/flaxzy.com/node_modules/collect.js/src/helpers/values.js

'use strict';

/**
 * Values helper
 *
 * Retrieve values from [this.items] when it is an array, object or Collection
 *
 * @returns {*}
 * @param items
 */
module.exports = function values(items) {
  const valuesArray = [];

  if (Array.isArray(items)) {
    valuesArray.push(...items);
  } else if (items.constructor.name === 'Collection') {
    valuesArray.push(...items.all());
  } else {
    Object.keys(items).forEach(prop => valuesArray.push(items[prop]));
  }

  return valuesArray;
};


PK 99
E-SHOP || DASHBOARD
404

Page Not Found

It looks like you found a glitch in the matrix...

← Back to Home