Array.collect()
Also same as Array.suchthat()
Related to
Array.prototype.collectwhile=Array.prototype.filteroncondition.curry(0);
Array.prototype.suchthat=Array.prototype.filteroncondition.curry(0);
Array.prototype.collect=Array.prototype.suchthat;
Array.prototype.takewhile=Array.prototype.filteroncondition.curry(1);
Array.prototype.dropwhile=Array.prototype.filteroncondition.curry(2);
Array.prototype.collectwhileasvector=Array.prototype.filteroncondition.curry(10);
Array.prototype.suchthatasvector=Array.prototype.filteroncondition.curry(10);
Array.prototype.collectasvector=Array.prototype.suchthatasvector;
Array.prototype.takewhileasvector=Array.prototype.filteroncondition.curry(11);
Array.prototype.dropwhileasvector=Array.prototype.filteroncondition.curry(12);
Array.prototype.splitwhile=Array.prototype.partitiononcondition.curry(0);
Array.prototype.splitwhileasvector=Array.prototype.partitiononcondition.curry(10);
To be documented.