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

Function arrayHas

docs/pseudo.esm.sh/tinybase@9.0.0/index.js:82–82  ·  view source on GitHub ↗
(array, value)

Source from the content-addressed store, hash-verified

80 }
81};
82var arrayHas = (array, value) => array.includes(value);
83var arrayEvery = (array, cb) => array.every(cb);
84var arrayIsEqual = (array1, array2) => size(array1) === size(array2) && arrayEvery(array1, (value1, index) => array2[index] === value1);
85var arrayIsSorted = (array, sorter) => arrayEvery(

Callers 2

goToFunction · 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…