MCPcopy
hub / github.com/tinyplex/tinybase / arrayIsEmpty

Function arrayIsEmpty

src/common/array.ts:62–62  ·  view source on GitHub ↗
(array: unknown[])

Source from the content-addressed store, hash-verified

60 arrayReduce<number, number>(array, (i, j) => i + j, 0);
61
62export const arrayIsEmpty = (array: unknown[]): boolean => size(array) == 0;
63
64export const arrayReduce = <Value, Result>(
65 array: Value[],

Callers 15

useUndoInformationFunction · 0.90
childrenFunction · 0.90
MetricsViewFunction · 0.90
IndexesViewFunction · 0.90
QueriesViewFunction · 0.90
RelationshipsViewFunction · 0.90
BodyFunction · 0.90
useUndoInformationFunction · 0.90
setQueryDefinitionImplFunction · 0.90
goBackwardImplFunction · 0.90
goForwardImplFunction · 0.90
clearForwardFunction · 0.90

Calls 1

sizeFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…