Interface: Peekable<T>
Defined in: projects/utilities/packages/iterator-utilities/src/lib/peekable.ts:52
Extends
IterableIterator
<T
>
Type Parameters
Type Parameter |
---|
T |
Methods
[iterator]()
[iterator]():
IterableIterator
<T
>
Defined in: node_modules/typescript/lib/lib.es2015.iterable.d.ts:53
Returns
IterableIterator
<T
>
Inherited from
IterableIterator.[iterator]
next()
next(...
args
: [] | [undefined
]):IteratorResult
<T
,any
>
Defined in: node_modules/typescript/lib/lib.es2015.iterable.d.ts:43
Parameters
Parameter | Type |
---|---|
...args | [] | [undefined ] |
Returns
IteratorResult
<T
, any
>
Inherited from
IterableIterator.next
peek()
peek():
IteratorResult
<T
,any
>
Defined in: projects/utilities/packages/iterator-utilities/src/lib/peekable.ts:53
Returns
IteratorResult
<T
, any
>
return()?
optional
return(value
?:any
):IteratorResult
<T
,any
>
Defined in: node_modules/typescript/lib/lib.es2015.iterable.d.ts:44
Parameters
Parameter | Type |
---|---|
value ? | any |
Returns
IteratorResult
<T
, any
>
Inherited from
IterableIterator.return
throw()?
optional
throw(e
?:any
):IteratorResult
<T
,any
>
Defined in: node_modules/typescript/lib/lib.es2015.iterable.d.ts:45
Parameters
Parameter | Type |
---|---|
e ? | any |
Returns
IteratorResult
<T
, any
>
Inherited from
IterableIterator.throw