method Uint32Array.filter
Private
Uint32Array.filter(
predicate: (
value: number,
index: number,
array: Uint32Array,
) => any
,
thisArg?: any,
): Uint32Array

Returns the elements of an array that meet the condition specified in a callback function.

Parameters

predicate: (
value: number,
index: number,
array: Uint32Array,
) => any

A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in 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