Partition an array of values into two arrays based on evaluation of a binary predicate.
array of values to partition
binary predicate to evaluate partition group of each value
Partition an array of values into two arrays based on evaluation of a binary predicate.