Skip to main content
Module

x/ts_toolbelt_unofficial/mod.ts>Iteration.Next

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

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]]