stop_iteration {itertools2}R Documentation

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.


[Package itertools2 version 0.1.1 Index]