Skip to main content
Skip to main content

Iterator

admin/discounts.internal.Iterator

Type parameters

TobjectRequired
TReturnobjectRequired
TNextobjectRequired

Methods

next

next(...args): IteratorResult<T, TReturn>

Parameters

args[] | [TNext]Required

Returns

IteratorResult<T, TReturn>

IteratorResultIteratorResult<T, TReturn>Required

return

Optional return(value?): IteratorResult<T, TReturn>

Parameters

valueTReturn

Returns

IteratorResult<T, TReturn>

IteratorResultIteratorResult<T, TReturn>Required

throw

Optional throw(e?): IteratorResult<T, TReturn>

Parameters

eany

Returns

IteratorResult<T, TReturn>

IteratorResultIteratorResult<T, TReturn>Required
Was this section helpful?