mirror of
https://github.com/thangisme/notes.git
synced 2024-11-01 00:37:33 -04:00
18 lines
488 B
JavaScript
18 lines
488 B
JavaScript
|
var baseGetAllKeys = require('./_baseGetAllKeys'),
|
||
|
getSymbolsIn = require('./_getSymbolsIn'),
|
||
|
keysIn = require('./keysIn');
|
||
|
|
||
|
/**
|
||
|
* Creates an array of own and inherited enumerable property names and
|
||
|
* symbols of `object`.
|
||
|
*
|
||
|
* @private
|
||
|
* @param {Object} object The object to query.
|
||
|
* @returns {Array} Returns the array of property names and symbols.
|
||
|
*/
|
||
|
function getAllKeysIn(object) {
|
||
|
return baseGetAllKeys(object, keysIn, getSymbolsIn);
|
||
|
}
|
||
|
|
||
|
module.exports = getAllKeysIn;
|