MCPcopy Create free account
hub / github.com/pomber/code-surfer / get

Method get

packs/standalone/src/tuple.ts:78–81  ·  view source on GitHub ↗
(key: any)

Source from the content-addressed store, hash-verified

76 }
77
78 get(key: any): Tuple<T> | undefined {
79 const childrenMap = this._getChildrenMap();
80 return childrenMap.get(key);
81 }
82
83 map<M>(mapper: (t: Tuple<T>, key?: any, self?: ArrayTuple<T>) => M) {
84 const childrenMap = this._getChildrenMap();

Callers

nothing calls this directly

Calls 2

_getChildrenMapMethod · 0.95
getMethod · 0.45

Tested by

no test coverage detected