filter
filter<
A>(predicate): (data) => readonlyA[]
Defined in: Data/Arr.ts:155
Filters elements that satisfy the predicate.
Type Parameters
Section titled “Type Parameters”A
Parameters
Section titled “Parameters”predicate
Section titled “predicate”(a) => boolean
Returns
Section titled “Returns”(data) => readonly A[]