Preparing search index...
The search index is not available
racer
racer
<internal>
Iterator
Interface Iterator<T, TReturn, TNext>
interface
Iterator
<
T
,
TReturn
,
TNext
>
{
next
(
...
args
:
[
]
|
[
TNext
]
)
:
IteratorResult
<
T
,
TReturn
>
;
return
?
(
value
?:
TReturn
)
:
IteratorResult
<
T
,
TReturn
>
;
throw
?
(
e
?:
any
)
:
IteratorResult
<
T
,
TReturn
>
;
}
Type Parameters
T
TReturn
=
any
TNext
=
undefined
Hierarchy (
view full
)
Iterator
IterableIterator
Index
Methods
next
return?
throw?
Methods
next
next
(
...
args
)
:
IteratorResult
<
T
,
TReturn
>
Parameters
Rest
...
args
:
[
]
|
[
TNext
]
Returns
IteratorResult
<
T
,
TReturn
>
Optional
return
return
(
value
?
)
:
IteratorResult
<
T
,
TReturn
>
Parameters
Optional
value
:
TReturn
Returns
IteratorResult
<
T
,
TReturn
>
Optional
throw
throw
(
e
?
)
:
IteratorResult
<
T
,
TReturn
>
Parameters
Optional
e
:
any
Returns
IteratorResult
<
T
,
TReturn
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
next
return
throw
racer
Loading...