Learn R Programming

itertools2 (version 0.1.1)

is_iterator: Helper function that determines whether is an iterator object

Description

Returns TRUE if the object is an object of class iter, and FALSE otherwise.

Usage

is_iterator(object)

Arguments

object
an R object

Value

logical value indicating whether object is of class iter