MCPcopy Create free account
hub / github.com/tinyplex/tinybase / forEachThing

Function forEachThing

src/common/definable.ts:73–74  ·  view source on GitHub ↗
(cb: (id: Id, value: Thing) => void)

Source from the content-addressed store, hash-verified

71 const getThingIds = (): Ids => mapKeys(tableIds);
72
73 const forEachThing = (cb: (id: Id, value: Thing) => void): void =>
74 mapForEach(things, cb);
75
76 const hasThing = (id: Id): boolean => collHas(things, id);
77

Callers

nothing calls this directly

Calls 1

mapForEachFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…