Learn R Programming

peruse (version 0.3.1)

current: Get the current value of an Iterator without changing its state

Description

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.

Usage

current(iter)

Arguments

iter

An Iterator object

Value

The current value of iter