Options
All
  • Public
  • Public/Protected
  • All
Menu

Type aliases

Type aliases

Key

Key<I>: `${I[0]}`

Get the position of I (string)

Type parameters

returns

[[String]]

example

import {I} from 'ts-toolbelt'

type i = I.IterationOf<'20'>

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

  • Inherited
  • Protected
  • Private
  • Static
  • Module
  • Object
  • Property
  • Function
  • Variable
  • Index
  • Type
  • Class
  • Interface
  • Enum
  • Constructor
  • Getter/Setter
Made with ❤️ by pirix-gh. Documentation generated by TypeDoc.