Float16Array.every - Web documentation
method Float16Array.every
Float16Array.every(
predicate: (
value: number,
index: number,
array: Float16Array,
) => unknown
,
thisArg?: any,
): boolean

Determines whether all the members of an array satisfy the specified test.

Parameters

predicate: (
value: number,
index: number,
array: Float16Array,
) => unknown

A function that accepts up to three arguments. The every method calls the predicate function for each element in the array until the predicate returns a value which is coercible to the Boolean value false, or until the end of the array.

optional
thisArg: any

An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.

Return Type

boolean