Learn R Programming

itertools2 (version 0.1.1)

stop_iteration: Helper function that determines whether an object inherits from a StopIteration exception

Description

Returns TRUE if the object resulted from a StopIteration exception when nextElem is called, and FALSE otherwise.

Usage

stop_iteration(object)

Arguments

object
an R object

Value

TRUE if object resulted from a StopIteration exception. Otherwise, FALSE.