(a, b)
| 64 | |
| 65 | /** @param {any[]} a @param {any[]} b */ |
| 66 | export 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 */ |
| 75 | export function matchObjectShape(a, b) { |
no outgoing calls
no test coverage detected