(self: Array<unknown>, that: Array<unknown>)
| 305 | } |
| 306 | |
| 307 | function compareArrays(self: Array<unknown>, that: Array<unknown>): boolean { |
| 308 | if (self.length !== that.length) { |
| 309 | return false |
| 310 | } |
| 311 | for (let i = 0; i < self.length; i++) { |
| 312 | if (!compareBoth(self[i], that[i])) { |
| 313 | return false |
| 314 | } |
| 315 | } |
| 316 | |
| 317 | return true |
| 318 | } |
| 319 | |
| 320 | function compareTypedArrays(self: Uint8Array, that: Uint8Array): boolean { |
| 321 | if (self.length !== that.length) { |
no test coverage detected