| 1 |
import { not } from '../util/not'; |
| 2 |
import { filter } from './filter'; |
| 3 |
export function partition(predicate, thisArg) { |
| 4 |
return function (source) { |
| 5 |
return [filter(predicate, thisArg)(source), filter(not(predicate, thisArg))(source)]; |
| 6 |
}; |
| 7 |
} |
| 8 |
//# sourceMappingURL=partition.js.map |