Current File : /home/tradevaly/text.tradevaly.com.bd/node_modules/collect.js/dist/methods/isEmpty.js
'use strict';

module.exports = function isEmpty() {
  if (Array.isArray(this.items)) {
    return !this.items.length;
  }

  return !Object.keys(this.items).length;
};