iter_length: Helper function that determines the length of an iterator...

Description Usage Arguments Value

View source: R/utilities.r

Description

Returns the length of an iterator object. In the case that the iterator's length is NULL, a value of 1 is returned by default. This value can be set using the default argument.

Usage

1
iter_length(object, default = 1)

Arguments

object

an iterator object

default

the value returned when an iterator has NULL length

Value

integer


itertools2 documentation built on May 30, 2017, 7:17 a.m.