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

x/rambda/index.d.ts>splitEvery

Faster and smaller alternative to Ramda
Latest
function splitEvery
import { splitEvery } from "https://deno.land/x/rambda@9.4.1/index.d.ts";

It splits input into slices of sliceLength.

Parameters

sliceLength: number
input: T[]

Returns

(T[])[]

Parameters

sliceLength: number
input: string

Returns

string[]

Parameters

sliceLength: number

Returns

{ (input: string): string[]; <T>(input: T[]): (T[])[]; }