Partitioning and Mapping Array in JavaScript

ive been going through effects Array type, ive partitioned an array into two, is there a way i can provide a map function to both either at the same time (kind of like onSuccess/onFailure where you provided an outcome for each) or during the partition itself?
Was this page helpful?