currentValue
-
function
-
Returns the current value from a list, range, or property list when treating it as an iterator.
-
new in 1.67
-
When using a list or range as an iterator, in addition to using NextValue to retrieve the next sequential value, the CurrentValue property gives access to the current value without advancing the CurrentIndex. The CurrentValue property is also a container, acting similar to a reference to that value, allowing you to replace or modify that value in the list.
-
Related: currentIndex, nextValue, start iteration