It takes an array and a condition, and returns an array of two arrays, the first of which contains all the elements of the input array that satisfy the condition, and the second of which contains all the elements that don't
The array to be divided
(a: T) => boolean
array of two (divided) arrays
Generated using TypeDoc version 0.22.15, the 4/20/2022
It takes an array and a condition, and returns an array of two arrays, the first of which contains all the elements of the input array that satisfy the condition, and the second of which contains all the elements that don't