Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "Iteration/Prev"

Index

Type aliases

Type aliases

Prev

Prev<I>: IterationMap[I[0]]

Move I's position backwards

Type parameters

returns

Iteration

example

import {I} from 'ts-toolbelt'

type i = I.IterationOf<'20'>

type test0 = I.Pos<i>         // 20
type test1 = I.Pos<I.Prev<i>> // 19

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