Function checkElementsPassPredicate
- checkElementsPassPredicate(actual, predicate, __namedParameters): ErrorWithExtra | undefined
Parameters
actual: Uint8Array | Uint8ClampedArray | Uint16Array | Uint32Array | Int8Array | Int16Array | Int32Array | Float16Array | Float32Array | Float64Array | BigInt64Array | BigUint64Array
Check whether a
TypedArray's values pass the provided predicate function. Returnsundefinedif the check passes, or anErrorif not.