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

Function setAdd

docs/pseudo.esm.sh/tinybase@9.0.0/ui-solid-inspector/index.js:1182–1182  ·  view source on GitHub ↗
(set, value)

Source from the content-addressed store, hash-verified

1180 isArray2(entryOrEntries) || isUndefined2(entryOrEntries) ? entryOrEntries : [entryOrEntries]
1181);
1182var setAdd = (set, value) => set?.add(value);
1183var getWildcardedLeaves = (deepIdSet, path = [EMPTY_STRING2]) => {
1184 const leaves = [];
1185 const deep = (node, p) => p == size2(path) ? arrayPush(leaves, node) : isNull(path[p]) ? collForEach(node, (node2) => deep(node2, p + 1)) : arrayForEach([path[p], null], (id2) => deep(mapGet(node, id2), p + 1));

Callers 6

addListenerFunction · 0.70
addDefaultsToRowFunction · 0.70
addDefaultsToValuesFunction · 0.70
setValidTablesSchemaFunction · 0.70
setValidValuesSchemaFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…