Preparing search index...
The search index is not available
NewDash
NewDash
async/filter
filter
Function filter
filter
<
T
extends
unknown
>
(
collection
:
T
[]
,
predicate
:
AsyncFunction
<
[
T
,
any
,
any
]
,
boolean
>
,
)
:
Promise
<
T
[]
>
AsyncUtils.filter, filter values by async predicate function
Type Parameters
T
extends
unknown
Parameters
collection
:
T
[]
predicate
:
AsyncFunction
<
[
T
,
any
,
any
]
,
boolean
>
async predicate
Returns
Promise
<
T
[]
>
Author
Theo Sun
Since
5.18.0
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
NewDash
Loading...
AsyncUtils.filter, filter values by async predicate function