Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "Iteration/Pos"

Index

Type aliases

Type aliases

Pos

Pos<I>: Format<I, "n">

Get the position of I (number)

Type parameters

returns

number

example

import {I} from 'ts-toolbelt'

type i = I.IterationOf<'20'>

type test0 = I.Pos<i>         // 20
type test1 = I.Pos<I.Next<i>> // 21

Made with ❤️ by pirix-gh. Documentation generated by TypeDoc.