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

Function arrayHas

src/common/array.ts:9–10  ·  view source on GitHub ↗
(array: Value[], value: Value)

Source from the content-addressed store, hash-verified

7): Value[] => arrayMap(new Array(size).fill(0), (_, index) => cb(index));
8
9export const arrayHas = <Value>(array: Value[], value: Value): boolean =>
10 array.includes(value);
11
12export const arrayIndexOf = <Value>(array: Value[], value: Value): number =>
13 array.indexOf(value);

Callers 7

goToFunction · 0.90
getValuesSubsetFunction · 0.90
CartesianChartFunction · 0.90
getTitleFunction · 0.90
getSeriesSummaryFunction · 0.90
getDomainStateFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…