current.Iterator {Containers}R Documentation

Inspect an Iterator's Current Element of Interest

Description

This method returns the current element of the container to which the Iterator is attached, if possible.

Details

e = it$current()

Value

current returns the element over which the Iterator is currently positioned, or NULL if the Iterator is invalid.

Author(s)

John Hughes


[Package Containers version 1.2 Index]