Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IEnumerable<T>

表示实现该接口的是一个可枚举的类型。

interface
version

1.0.0

Type parameters

  • T

Hierarchy

Implemented by

Index

Methods

forEach

  • forEach(callback: function, scope?: any): void
  • 对 IEnumerable 进行迭代处理。

    Parameters

    • callback: function

      每次迭代中执行的回掉函数,当前迭代项将传入该函数。

    • Optional scope: any

      回掉函数中 this 所引用的对象。

    Returns void

    void

getEnumerator

Generated using TypeDoc