import { splitWhen } from "https://dotland.deno.dev/x/rambda@v9.2.0/index.d.ts";
It splits list
to two arrays according to a predicate
function.
The first array contains all members of list
before predicate
returns true
.
import { splitWhen } from "https://dotland.deno.dev/x/rambda@v9.2.0/index.d.ts";
It splits list
to two arrays according to a predicate
function.
The first array contains all members of list
before predicate
returns true
.