1
1
Fork 0
mirror of https://github.com/azur1s/bobbylisp.git synced 2024-10-16 02:37:40 -05:00
bobbylisp/runtime/tuples.ts

4 lines
141 B
TypeScript

export function eqTuples(a: any[], b: any[]) {
if (a.length !== b.length) return false;
return a.every((elem, i) => b[i] === elem);
}