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

Description Usage Arguments Value

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 2, 2019, 3:37 p.m.