MCPcopy Index your code
hub / github.com/tinyplex/tinybase / objForEach

Function objForEach

docs/pseudo.esm.sh/tinybase@9.0.0/index.js:130–130  ·  view source on GitHub ↗
(obj, cb)

Source from the content-addressed store, hash-verified

128 return obj;
129};
130var objForEach = (obj, cb) => arrayForEach(objEntries(obj), ([id2, value]) => cb(value, id2));
131var objToArray = (obj, cb) => arrayMap(objEntries(obj), ([id2, value]) => cb(value, id2));
132var objMap = (obj, cb) => objNew(objToArray(obj, (value, id2) => [id2, cb(value, id2)]));
133var objSize = (obj) => size(objIds(obj));

Callers 7

objValidateFunction · 0.70
mergeContentOrChangesFunction · 0.70
mergeCellsOrValuesFunction · 0.70
getMergeableRowHashesFunction · 0.70
getMergeableRowDiffFunction · 0.70
getMergeableCellHashesFunction · 0.70
getMergeableCellDiffFunction · 0.70

Calls 1

arrayForEachFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…