Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@doodle/i18n / dist / cjs / node_modules / lodash / _getSymbolsIn.js
Size: Mime:
'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