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
TypedArray
s have equal contents. Returnsundefined
if the check passes, or anError
if not.