Lodash.partition

Creates an array of elements split into two groups, the first of which contains elements predicate returns truthy for, the second of which contains elements predicate returns falsey for. The predicate is invoked with one argument: (value).

struct Lodash
nothrow @trusted @safe ref
partition
(
T = Any
)
(
auto ref T iteratee = T.init
)

Return Value

Type: auto ref

- Lodash chained on (Object): the array of grouped elements.

Meta