fork
Split an array into two arrays by a condition
98 bytes
Usage
Given an array of items and a condition, returns two arrays where the first contains all items that passed the condition and the second contains all items that failed the condition.