MCPcopy
hub / github.com/vercel/hyper / keys

Function keys

bin/yarn-standalone.js:21027–21029  ·  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 * @memb

(object)

Source from the content-addressed store, hash-verified

21025 * // => ['0', '1']
21026 */
21027 function keys(object) {
21028 return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
21029 }
21030
21031 /**
21032 * Creates an array of the own and inherited enumerable property names of `object`.

Callers 11

baseAssignFunction · 0.70
baseConformsFunction · 0.70
createFindFunction · 0.70
getMatchDataFunction · 0.70
conformsToFunction · 0.70
yarn-standalone.jsFile · 0.70
functionsFunction · 0.70
valuesFunction · 0.70
templateFunction · 0.70
mixinFunction · 0.70
baseCloneFunction · 0.70

Calls 8

isArrayLikeFunction · 0.85
arrayLikeKeysFunction · 0.85
baseKeysFunction · 0.85
isPrototypeFunction · 0.85
indexKeysFunction · 0.85
baseHasFunction · 0.85
isIndexFunction · 0.85
pushMethod · 0.45

Tested by

no test coverage detected