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

x/denouse/use/array/split.ts>useSplit

Util functions for Deno
Go to Latest
function useSplit
import { useSplit } from "https://deno.land/x/denouse@v0.0.6/use/array/split.ts";

Split arrays by their first axis

Parameters

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

Returns

[arr, arr]