import { partition } from "https://deno.land/x/rambda@9.3.0/immutable.d.ts";
It will return array of two objects/arrays according to predicate
function. The first member holds all instances of input
that pass the predicate
function, while the second member - those who doesn't.
Parameters
predicate: (x: T, prop?: string) => boolean