MCPcopy Index your code
hub / github.com/nodejs/node / getOwnKeys

Function getOwnKeys

test/fixtures/snapshot/typescript.js:1449–1457  ·  view source on GitHub ↗

* Gets the owned, enumerable property keys of a map-like.

(map)

Source from the content-addressed store, hash-verified

1447 * Gets the owned, enumerable property keys of a map-like.
1448 */
1449 function getOwnKeys(map) {
1450 var keys = [];
1451 for (var key in map) {
1452 if (hasOwnProperty.call(map, key)) {
1453 keys.push(key);
1454 }
1455 }
1456 return keys;
1457 }
1458 ts.getOwnKeys = getOwnKeys;
1459 function getAllKeys(obj) {
1460 var result = [];

Callers 1

typescript.jsFile · 0.85

Calls 2

callMethod · 0.45
pushMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…