PK

ADDRLIN : /home/questend/public_html/domains/flaxzy.com/node_modules/collect.js/dist/methods/
FLL :
Current File : /home/questend/public_html/domains/flaxzy.com/node_modules/collect.js/dist/methods/whenNotEmpty.js

'use strict';

module.exports = function whenNotEmpty(fn, defaultFn) {
  if (Array.isArray(this.items) && this.items.length) {
    return fn(this);
  }if (Object.keys(this.items).length) {
    return fn(this);
  }

  if (defaultFn !== undefined) {
    if (Array.isArray(this.items) && !this.items.length) {
      return defaultFn(this);
    }if (!Object.keys(this.items).length) {
      return defaultFn(this);
    }
  }

  return this;
};


PK 99
E-SHOP || DASHBOARD
404

Page Not Found

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

← Back to Home