deno.land / std@0.139.0 / collections / partition.ts

import * as mod from "https://deno.land/std@0.139.0/collections/partition.ts";

Functions

partition

Returns a tuple of two arrays with the first one containing all elements in the given array that match the given predicate and the second one containing all that do not

std
Deno standard library
GitHub Stars
2178
Go to latest

Version Info

Tagged at
a month ago