Preparing search index...
The search index is not available
@hat-open/util
@hat-open/util
_filter
Function _filter
_filter
<
T
>
(
fn
:
(
val
:
T
)
=>
boolean
,
arr
:
T
[]
)
:
T
[]
Change array to contain only elements for which function returns
true
Type Parameters
T
Parameters
fn
:
(
val
:
T
)
=>
boolean
arr
:
T
[]
Returns
T
[]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@hat-open/util
Loading...
Change array to contain only elements for which function returns
true