Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Enumerable

Index

Methods

Methods

Static repeat

  • repeat<T>(element: T, count: number): any[]
  • 生成包含一个重复值的序列

    Type parameters

    • T

    Parameters

    • element: T

      要重复的值

    • count: number

      在生成的序列中重复该值的次数

    Returns any[]

Generated using TypeDoc