* Returns the elements of an array that meet the condition specified in a callback function. * @param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array. * @param thisArg An object to which the this key
(
predicate: BooleanConstructor,
thisArg?: any
)
| 22 | * @param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value. |
| 23 | */ |
| 24 | filter<S extends T>( |
| 25 | predicate: BooleanConstructor, |
| 26 | thisArg?: any |
| 27 | ): Exclude<S, Falsy>[]; |
no outgoing calls