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

Function arrayIsEqual

src/common/array.ts:20–25  ·  view source on GitHub ↗
(
  array1: readonly unknown[],
  array2: readonly unknown[],
)

Source from the content-addressed store, hash-verified

18): boolean => array.every(cb);
19
20export const arrayIsEqual = (
21 array1: readonly unknown[],
22 array2: readonly unknown[],
23): boolean =>
24 size(array1) === size(array2) &&
25 arrayEvery(array1, (value1, index) => array2[index] === value1);
26
27export const arrayOrValueEqual = (value1: any, value2: any): boolean =>
28 isArray(value1) && isArray(value2)

Callers 7

hooks.tsFile · 0.90
primitives.tsFile · 0.90
processRowFunction · 0.90
CartesianChartFunction · 0.90
isLayoutEqualFunction · 0.90
arrayOrValueEqualFunction · 0.70

Calls 2

sizeFunction · 0.90
arrayEveryFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…