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

Function valueInvalid

docs/pseudo.esm.sh/tinybase@9.0.0/index.js:1557–1563  ·  view source on GitHub ↗
(valueId, invalidValue, defaultedValue)

Source from the content-addressed store, hash-verified

1555 return defaultedCell;
1556 };
1557 const valueInvalid = (valueId, invalidValue, defaultedValue) => {
1558 arrayPush(
1559 mapEnsure(invalidValues, valueId, () => []),
1560 invalidValue
1561 );
1562 return defaultedValue;
1563 };
1564 const getCellChange = (tableId, rowId, cellId) => ifNotUndefined(
1565 mapGet(mapGet(mapGet(changedCells, tableId), rowId), cellId),
1566 ([oldCell, newCell]) => [

Callers 3

validateValuesFunction · 0.70
getValidatedValueFunction · 0.70
addDefaultsToValuesFunction · 0.70

Calls 2

arrayPushFunction · 0.70
mapEnsureFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…