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

Function stampMapToObjWithoutHash

docs/pseudo.esm.sh/tinybase@9.0.0/index.js:1014–1014  ·  view source on GitHub ↗
([map2, hlc], mapper = stampClone)

Source from the content-addressed store, hash-verified

1012 hash
1013];
1014var stampMapToObjWithoutHash = ([map2, hlc], mapper = stampClone) => stampNew(mapToObj(map2, mapper), hlc);
1015var stampValidate = (stamp, validateThing) => isArray(stamp) && size(stamp) == 3 && isString(stamp[1]) && isNumber(stamp[2]) && isFiniteNumber(stamp[2]) && validateThing(stamp[0]);
1016var pairNew = (value) => [value, value];
1017var pairCollSize2 = (pair, func = collSize2) => func(pair[0]) + func(pair[1]);

Callers 2

getMergeableTableDiffFunction · 0.70
getMergeableRowDiffFunction · 0.70

Calls 2

stampNewFunction · 0.70
mapToObjFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…