Function checkElementsEqual
- checkElementsEqual(actual, expected): ErrorWithExtra | undefined
Parameters
actual: Uint8Array | Uint8ClampedArray | Uint16Array | Uint32Array | Int8Array | Int16Array | Int32Array | Float16Array | Float32Array | Float64Array | BigInt64Array | BigUint64Array
expected: Uint8Array | Uint8ClampedArray | Uint16Array | Uint32Array | Int8Array | Int16Array | Int32Array | Float16Array | Float32Array | Float64Array | BigInt64Array | BigUint64Array
Check whether two
TypedArrays have equal contents. Returnsundefinedif the check passes, or anErrorif not.