You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
488 B

4 years ago
  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;