The functions to check values in a list.
The list to iterate over.
Returns the composed array.
Creates an array of arrays generated from the results of running
each element of list thru each fn
. The corresponding
value of each index is an array of elements satisfies to function with that index, and
the last array is elements with no satisfied function
The functions to check values in a list.
Returns the composed array.
Generated using TypeDoc
Creates an array of arrays generated from the results of running each element of list thru each
fn
. The corresponding value of each index is an array of elements satisfies to function with that index, and the last array is elements with no satisfied functiongroupBy([isPositive, isZero, isNegative], [0, -3, 2, 'str', 4, -1]);//=> [[2,4], [0], [-3, -1], ['str']]