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

Description Usage Arguments Value

View source: R/current.R

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

1
current(iter)

Arguments

iter

An Iterator object

Value

The current value of iter


jacgoldsm/pytools documentation built on March 17, 2021, 6:36 a.m.