Interface RegExpStringIterator<T>
interface RegExpStringIterator<T> {
"[iterator]"(): RegExpStringIterator<T>;
next(...__namedParameters: [] | [unknown]): IteratorResult<T, any>;
return(value?: any): IteratorResult<T, any>;
throw(e?: any): IteratorResult<T, any>;
}
"[iterator]"(): RegExpStringIterator<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>
- RegExpStringIterator (View Summary)
Index
Methods
Methods
[iterator]
- "[iterator]"(): RegExpStringIterator<T>
Returns RegExpStringIterator<T>
next
- next(...__namedParameters: [] | [unknown]): IteratorResult<T, any>
Parameters
- ...__namedParameters: [] | [unknown]
Returns IteratorResult<T, any>
Optional
return
- return(value?: any): IteratorResult<T, any>
Parameters
Optional
value: any
Returns IteratorResult<T, any>
Optional
throw
- throw(e?: any): 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
.