Preparing search index...
The search index is not available
nekosapi
nekosapi
<internal>
Iterator
Interface Iterator<T, TReturn, TNext>
interface
Iterator
<
T
,
TReturn
,
TNext
>
{
next
(
...
args
)
:
IteratorResult
<
T
,
TReturn
>
;
return
?
(
value
?
)
:
IteratorResult
<
T
,
TReturn
>
;
throw
?
(
e
?
)
:
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
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
next
return
throw
nekosapi
default
<internal>
NekosAPI
NekosAPIv1
Generated using
TypeDoc