artdaq_node_server  v1_00_09
 All Classes Namespaces Files Variables Pages
_getSymbolsIn.js
1 var arrayPush = require('./_arrayPush'),
2  getPrototype = require('./_getPrototype'),
3  getSymbols = require('./_getSymbols'),
4  stubArray = require('./stubArray');
5 
6 /* Built-in method references for those with the same name as other `lodash` methods. */
7 var nativeGetSymbols = Object.getOwnPropertySymbols;
8 
16 var getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) {
17  var result = [];
18  while (object) {
19  arrayPush(result, getSymbols(object));
20  object = getPrototype(object);
21  }
22  return result;
23 };
24 
25 module.exports = getSymbolsIn;