Repository URL to install this package:
|
Version:
5.0.0-rc.11 ▾
|
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var stubArray = require('./stubArray.js');
var _getSymbols = require('./_getSymbols.js');
var _arrayPush = require('./_arrayPush.js');
var _getPrototype = require('./_getPrototype.js');
/* Built-in method references for those with the same name as other `lodash` methods. */
var nativeGetSymbols = Object.getOwnPropertySymbols;
/**
* Creates an array of the own and inherited enumerable symbols of `object`.
*
* @private
* @param {Object} object The object to query.
* @returns {Array} Returns the array of symbols.
*/
var getSymbolsIn = !nativeGetSymbols ? stubArray.default : function(object) {
var result = [];
while (object) {
_arrayPush.default(result, _getSymbols.default(object));
object = _getPrototype.default(object);
}
return result;
};
var _getSymbolsIn = getSymbolsIn;
exports.__moduleExports = _getSymbolsIn;
exports.default = _getSymbolsIn;
//# sourceMappingURL=_getSymbolsIn.js.map