A type of array elements.
Target type.
A source array.
A predicate function to test that element extends the type TTarget
. Returns true
to keep the
element, or false
otherwise. It accepts the tested element as the only parameter.
New push iterable with the elements that pass the test. If no elements passed the test, an empty iterable will be returned.
Creates a push iterable with all array
elements that pass the test implemented by
the provided function.
A type of array elements.
A source array.
A predicate function to test each element. Returns true
to keep the element, or false
otherwise.
It accepts the tested element as the only parameter.
New push iterable with the elements that pass the test. If no elements passed the test, an empty iterable will be returned.
Generated using TypeDoc
Creates a push iterable with all
array
elements extending the given type.