MCPcopy Index your code
hub / github.com/EmNudge/watlings / arrayEquals

Function arrayEquals

tests/utils/test-runner.mjs:66–72  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

64
65/** @param {any[]} a @param {any[]} b */
66export function arrayEquals(a, b) {
67 if (a.length !== b.length) return false;
68 for (let i = 0; i < a.length; i++) {
69 if (a[i] !== b[i]) return false;
70 }
71 return true;
72}
73
74/** @param {any} a @param {import('./types.d.ts').ObjectShape} b */
75export function matchObjectShape(a, b) {

Callers 4

010_memory.test.jsFile · 0.90
008_loops.test.jsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected