Skip to main content
Module

x/ts_toolbelt_unofficial/mod.ts>Iteration.Key

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

Get the position of I (string)

Examples

Example 1

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

type i = I.IterationOf<'20'>

type test0 = I.Key<i>         // '20'
type test1 = I.Key<I.Next<i>> // '21'
definition: `${I[0]}`