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

Function customLink

test/unit/core/other/relationships.test.ts:27–31  ·  view source on GitHub ↗
(getCell: GetCell, localRowId: Id)

Source from the content-addressed store, hash-verified

25 store.delCell('t1', 'r2', 'c2').delRow('t1', 'r1').delTables();
26
27const customLink = (getCell: GetCell, localRowId: Id): Id =>
28 'R' +
29 Math.abs(
30 parseInt((getCell('c1') ?? '_').toString()[1]) - parseInt(localRowId[1]),
31 );
32
33beforeEach(() => {
34 store = createStore();

Callers

nothing calls this directly

Calls 1

getCellFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…