Creates an array of elements split into two groups, the first of which contains elements predicate returns truthy for,
while the second of which contains elements predicate returns falsey for.
The predicate is invoked with three arguments: (value, index|key, collection).
Creates an array of elements split into two groups, the first of which contains elements predicate returns truthy for, while the second of which contains elements predicate returns falsey for. The predicate is invoked with three arguments: (value, index|key, collection).