Skip to content
0

katanakit-js / useFilter

Function: useFilter() ​

ts
function useFilter<T>(array, predicate): T[];

Defined in: src/core/services/array.service.ts:454

Keeps the items that satisfy predicate. See ArrayService.useFilter.

Type Parameters ​

Type Parameter
T

Parameters ​

ParameterType
arrayNullableArray<T>
predicatePredicate<T>

Returns ​

T[]

Released under the MIT License.