RPG Event Generator v3.1.0 - v3.1.1
Preparing search index...
partition
Function partition
partition
<
T
>
(
array
:
T
[]
,
predicate
:
(
item
:
T
)
=>
boolean
)
:
[
T
[]
,
T
[]
]
Partition array into two groups based on predicate
Type Parameters
T
Parameters
array
:
T
[]
predicate
:
(
item
:
T
)
=>
boolean
Returns
[
T
[]
,
T
[]
]
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
RPG Event Generator v3.1.0 - v3.1.1
Loading...
Partition array into two groups based on predicate