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

Function getAllKeys

test/fixtures/snapshot/typescript.js:1459–1469  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

1457 }
1458 ts.getOwnKeys = getOwnKeys;
1459 function getAllKeys(obj) {
1460 var result = [];
1461 do {
1462 var names = Object.getOwnPropertyNames(obj);
1463 for (var _i = 0, names_1 = names; _i < names_1.length; _i++) {
1464 var name = names_1[_i];
1465 pushIfUnique(result, name);
1466 }
1467 } while (obj = Object.getPrototypeOf(obj));
1468 return result;
1469 }
1470 ts.getAllKeys = getAllKeys;
1471 function getOwnValues(collection) {
1472 var values = [];

Callers

nothing calls this directly

Calls 1

pushIfUniqueFunction · 0.85

Tested by

no test coverage detected