_getAllKeysIn.js 488 B

123456789101112131415161718
  1. var baseGetAllKeys = require('./_baseGetAllKeys'),
  2. getSymbolsIn = require('./_getSymbolsIn'),
  3. keysIn = require('./keysIn');
  4. /**
  5. * Creates an array of own and inherited enumerable property names and
  6. * symbols of `object`.
  7. *
  8. * @private
  9. * @param {Object} object The object to query.
  10. * @returns {Array} Returns the array of property names and symbols.
  11. */
  12. function getAllKeysIn(object) {
  13. return baseGetAllKeys(object, keysIn, getSymbolsIn);
  14. }
  15. module.exports = getAllKeysIn;