Skip to main content
Module

x/lodash_es/mod.ts>partition

lodash for deno use
Latest
variable partition
import { partition } from "https://deno.land/x/lodash_es@v0.0.2/mod.ts";

Creates an array of elements split into two groups, the first of which contains elements predicate returns truthy for, the second of which contains elements predicate returns falsey for. The predicate is invoked with one argument: (value).