Skip to main content
Module

x/ts_toolbelt_unofficial/mod.ts>I.Next

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

Move I's position forward

Examples

Example 1

import {I} from 'ts-toolbelt.ts'

type i = I.IterationOf<'20'>

type test0 = I.Pos<i>         // 20
type test1 = I.Pos<I.Next<i>> // 21
definition: IterationMap[I[3]]