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

Function collIsEmpty

docs/pseudo.esm.sh/tinybase@9.0.0/index.js:106–106  ·  view source on GitHub ↗
(coll)

Source from the content-addressed store, hash-verified

104var collSize4 = collSizeN(collSize3);
105var collHas = (coll, keyOrValue) => coll?.has(keyOrValue) ?? false;
106var collIsEmpty = (coll) => isUndefined(coll) || collSize(coll) == 0;
107var collValues = (coll) => [...coll?.values() ?? []];
108var collClear = (coll) => coll.clear();
109var collForEach = (coll, cb) => coll?.forEach(cb);

Callers 15

visitTreeFunction · 0.70
delListenerFunction · 0.70
_registerListenersFunction · 0.70
setIndexDefinitionFunction · 0.70
delValidCellFunction · 0.70
callInvalidCellListenersFunction · 0.70
hasTablesFunction · 0.70
hasValuesFunction · 0.70

Calls 2

isUndefinedFunction · 0.70
collSizeFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…