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

Function collHas

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

Source from the content-addressed store, hash-verified

1087var collSize3 = collSizeN(collSize2);
1088var collSize4 = collSizeN(collSize3);
1089var collHas = (coll, keyOrValue) => coll?.has(keyOrValue) ?? false;
1090var collIsEmpty = (coll) => isUndefined2(coll) || collSize(coll) == 0;
1091var collValues = (coll) => [...coll?.values() ?? []];
1092var collClear = (coll) => coll.clear();

Callers 15

mapEnsureFunction · 0.70
validateTableFunction · 0.70
setValidCellFunction · 0.70
setValidValueFunction · 0.70
getNewRowIdFunction · 0.70
cellChangedFunction · 0.70
valueChangedFunction · 0.70
hasTableFunction · 0.70
hasTableCellFunction · 0.70
hasRowFunction · 0.70
hasCellFunction · 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…