Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/denouse/mod.ts>useSplit

Util functions for Deno
Latest
function useSplit
import { useSplit } from "https://deno.land/x/denouse@v0.0.12/mod.ts";

Split arrays by their first axis

Parameters

optional
options: SplitOptions = [UNSUPPORTED]
...arr: (Sliceable<unknown>)[]

Returns

[arr, arr]