MCPcopy
hub / github.com/loggerhead/json4u / getChildrenKeys

Function getChildrenKeys

src/lib/parser/node.ts:54–56  ·  view source on GitHub ↗
(node: Node)

Source from the content-addressed store, hash-verified

52}
53
54export function getChildrenKeys(node: Node): string[] {
55 return node?.childrenKeys ?? [];
56}
57
58export function getChildId(node: Node, key: string): string {
59 return (node.childrenKey2Id ?? {})[key];

Callers 11

diffObjectFunction · 0.90
childrenIdsMethod · 0.90
childrenNodesMethod · 0.90
mapChildrenMethod · 0.90
doFindMethod · 0.90
dfsMethod · 0.90
stringifyNodeMethod · 0.90
doIsEqualsFunction · 0.90
newFlowNodeFunction · 0.90
newEdgeFunction · 0.90
Node.tsxFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected