Skip to main content
Module

x/ts_toolbelt_unofficial/mod.ts>T.Group

👷 TypeScript's largest type utility library, now on Deno
Latest
type alias T.Group
import { type T } from "https://deno.land/x/ts_toolbelt_unofficial@1.1.0/mod.ts";
const { Group } = T;

Split L into sub-[[List]]s every N

Examples

Example 1

Type Parameters

L extends List
N extends number
definition: L extends unknown ? N extends unknown ? _Group<L, N> : never : never