Current File : /home/tradevaly/www/node_modules/collect.js/src/methods/keys.js
'use strict';

module.exports = function keys() {
  let collection = Object.keys(this.items);

  if (Array.isArray(this.items)) {
    collection = collection.map(Number);
  }

  return new this.constructor(collection);
};