An Iterator yields a variable every time yield_next() is called. Get the current value of that variable without changing the state of the Iterator.

current(iter)

Arguments

iter

An Iterator object

Value

The current value of iter