MCPcopy Create free account
hub / github.com/Hello-Application-XH/HelloGML / get

Function get

src/utils.ts:169–171  ·  view source on GitHub ↗
(obj: any, path: string)

Source from the content-addressed store, hash-verified

167}
168
169export function get(obj: any, path: string): any {
170 return path.split(".").reduce((o, k) => o?.[k], obj);
171}
172
173export function pickBy(obj: any, predicate: (value: any, key: string) => boolean): any {
174 const result: any = {};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected