MCPcopy
hub / github.com/dunky11/react-saas-template / keys

Function keys

src/shared/functions/toArray.js:919–921  ·  view source on GitHub ↗

* Creates an array of the own enumerable property names of `object`. * * **Note:** Non-object values are coerced to objects. See the * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys) * for more details. * * @static * @since 0.1.0 * @memberOf _ * @category Object * @p

(object)

Source from the content-addressed store, hash-verified

917 * // => ['0', '1']
918 */
919function keys(object) {
920 return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
921}
922
923/**
924 * Creates an array of the own enumerable string keyed property values of `object`.

Callers 1

valuesFunction · 0.85

Calls 3

isArrayLikeFunction · 0.85
arrayLikeKeysFunction · 0.85
baseKeysFunction · 0.85

Tested by

no test coverage detected