BC API DocsBC APIBC data- CommonEnumerate<T>(iterable: Iterable<T>, start?: number, step?: number): Generator<[index: number, value: T], void, any>
Type parameters
Parameters
iterable: Iterable<T>
start: number = 0
step: number = 1
Returns Generator<[index: number, value: T], void, any>
Iterate through the passed iterable and yield index/value pairs.