@pleisto/active-support
Preparing search index...
sift
Variable sift
Const
sift
:
<
T
>
(
list
:
readonly
(
Falsy
|
T
)
[]
)
=>
T
[]
Given a list returns a new list with only truthy values
Type declaration
<
T
>
(
list
:
readonly
(
Falsy
|
T
)
[]
)
:
T
[]
Type Parameters
T
Parameters
list
:
readonly
(
Falsy
|
T
)
[]
Returns
T
[]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@pleisto/active-support
Loading...
Given a list returns a new list with only truthy values