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