Options
All
  • Public
  • Public/Protected
  • All
Menu

Type aliases

Type aliases

Repeat

Repeat<A, N, L>: N extends unknown ? L extends unknown ? _Repeat<A, N, L> : never : never

Fill a List with N times A

Type parameters

  • A: any

    to fill with

  • N: number

    to repeat it

  • L: List

    (?=[]) to be filled

returns

List

example


  • 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.