Sha256: 1bfc82f79df4fda867fdd82baec9530c59189994c17fc1011733aba2de51d0fe

Contents?: true

Size: 739 Bytes

Versions: 299

Compression:

Stored size: 739 Bytes

Contents

var arrayPush = require('./_arrayPush'),
    isArray = require('./isArray');

/**
 * The base implementation of `getAllKeys` and `getAllKeysIn` which uses
 * `keysFunc` and `symbolsFunc` to get the enumerable property names and
 * symbols of `object`.
 *
 * @private
 * @param {Object} object The object to query.
 * @param {Function} keysFunc The function to get the keys of `object`.
 * @param {Function} symbolsFunc The function to get the symbols of `object`.
 * @returns {Array} Returns the array of property names and symbols.
 */
function baseGetAllKeys(object, keysFunc, symbolsFunc) {
  var result = keysFunc(object);
  return isArray(object) ? result : arrayPush(result, symbolsFunc(object));
}

module.exports = baseGetAllKeys;

Version data entries

299 entries across 276 versions & 32 rubygems

Version Path
sumomo-0.7.3 data/sumomo/api_modules/node_modules/lodash/_baseGetAllKeys.js
sumomo-0.7.2 data/sumomo/api_modules/node_modules/lodash/_baseGetAllKeys.js
sumomo-0.7.1 data/sumomo/api_modules/node_modules/lodash/_baseGetAllKeys.js
sumomo-0.6.4 data/sumomo/api_modules/node_modules/lodash/_baseGetAllKeys.js
sumomo-0.6.3 data/sumomo/api_modules/node_modules/lodash/_baseGetAllKeys.js
sumomo-0.6.2 data/sumomo/api_modules/node_modules/lodash/_baseGetAllKeys.js
sumomo-0.6.1 data/sumomo/api_modules/node_modules/lodash/_baseGetAllKeys.js
affiliator-0.2.1 node_modules/lodash/_baseGetAllKeys.js
sumomo-0.6.0 data/sumomo/api_modules/node_modules/lodash/_baseGetAllKeys.js
guard-sass-lint-0.1.2 node_modules/lodash/_baseGetAllKeys.js
guard-sass-lint-0.1.1 node_modules/lodash/_baseGetAllKeys.js
lanes-0.8.0 node_modules/lodash/_baseGetAllKeys.js
lanes-0.8.0 node_modules/globule/node_modules/lodash/_baseGetAllKeys.js
minimum_viable_product-0.0.11 test/dummy/node_modules/lodash/_baseGetAllKeys.js
babel-schmooze-sprockets-0.1.3 node_modules/lodash/_baseGetAllKeys.js
blackboard-3.1.9 lib/site_template/node_modules/sass-graph/node_modules/lodash/_baseGetAllKeys.js
babel-schmooze-sprockets-0.1.2 node_modules/lodash/_baseGetAllKeys.js
babel-schmooze-sprockets-0.1.1 node_modules/babel-plugin-transform-es2015-modules-commonjs/node_modules/lodash/_baseGetAllKeys.js
babel-schmooze-sprockets-0.1.1 node_modules/babel-plugin-transform-es2015-function-name/node_modules/lodash/_baseGetAllKeys.js
babel-schmooze-sprockets-0.1.1 node_modules/babel-plugin-transform-es2015-duplicate-keys/node_modules/lodash/_baseGetAllKeys.js