Class: IterationValue

IterationValue(done, value)

Implementation of the ES6 IteratorResult.

Constructor

new IterationValue(done, value)

Parameters:
Name Type Description
done boolean

Whether the parent iterator is complete, and has no more values.

value *

Current value of the parent iterator.

Source: