Interface MapIterator<T>
interface MapIterator<T> {
[iterator](): MapIterator<T>;
next(...__namedParameters: [] | [unknown]): IteratorResult<T, any>;
return?(value?: any): IteratorResult<T, any>;
throw?(e?: any): IteratorResult<T, any>;
}
[iterator](): MapIterator<T>;
next(...__namedParameters: [] | [unknown]): IteratorResult<T, any>;
return?(value?: any): IteratorResult<T, any>;
throw?(e?: any): IteratorResult<T, any>;
}
Type Parameters
Hierarchy
- IteratorObject<T, BuiltinIteratorReturn, unknown>
- MapIterator (view full)
Index
Methods
Methods
[iterator]
- [iterator](): MapIterator<T>
Returns MapIterator<T>
next
- next(...__namedParameters): IteratorResult<T, any>
Parameters
Rest
...__namedParameters: [] | [unknown]
Returns IteratorResult<T, any>
Optional
return
- return(value?): IteratorResult<T, any>
Parameters
Optional
value: any
Returns IteratorResult<T, any>
Optional
throw
- throw(e?): IteratorResult<T, any>
Parameters
Optional
e: any
Returns IteratorResult<T, any>
Describes an Iterator produced by the runtime that inherits from the intrinsic
Iterator.prototype
.