IterableValue

Overview

The IterableValue object is designed for use in JavaScript loops to streamline iteration processes. It provides access to the current value of the iterable and indicates whether the iteration is complete.

Properties Summarized

Type
Name
Summary

This returns a boolean if this was the last value (true) or not.

This is used in Iterators (for of loops) This returns the value of the current Iterable

Properties Detailed

done

This returns a boolean if this was the last value (true) or not.

Type Boolean

value

This is used in Iterators (for of loops) This returns the value of the current Iterable

Type Object


Last updated