MCPcopy
hub / github.com/tinyplex/tinybase / collForEach

Function collForEach

src/common/coll.ts:35–38  ·  view source on GitHub ↗
(
  coll: Coll<Value> | undefined,
  cb: (value: Value, key: any) => void,
)

Source from the content-addressed store, hash-verified

33export const collClear = (coll: Coll<unknown>): void => coll.clear();
34
35export const collForEach = <Value>(
36 coll: Coll<Value> | undefined,
37 cb: (value: Value, key: any) => void,
38): void => coll?.forEach(cb);
39
40export const collDel = (
41 coll: Coll<unknown> | undefined,

Callers 15

resetPreStoresFunction · 0.90
resetSourceStoresFunction · 0.90
writeGroupRowFunction · 0.90
setQueryDefinitionImplFunction · 0.90
rootRowChangedFunction · 0.90
updateStoreFunction · 0.90
addDefaultsToRowFunction · 0.90
addDefaultsToValuesFunction · 0.90
callInvalidCellListenersFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…