(a: readonly any[], b: readonly any[])
| 11 | import {firstValueFrom} from './first_value_from'; |
| 12 | |
| 13 | export function shallowEqualArrays(a: readonly any[], b: readonly any[]): boolean { |
| 14 | if (a.length !== b.length) return false; |
| 15 | for (let i = 0; i < a.length; ++i) { |
| 16 | if (!shallowEqual(a[i], b[i])) return false; |
| 17 | } |
| 18 | return true; |
| 19 | } |
| 20 | |
| 21 | export function shallowEqual( |
| 22 | a: {[key: string | symbol]: any}, |
no test coverage detected
searching dependent graphs…