hasNext: Does This Iterator Have A Next Element

Description Usage Arguments Value See Also

View source: R/iterating.R

Description

hasNext is a generic function that indicates if the iterator has another element.

Usage

1
2
3
4
hasNext(obj, ...)

## S3 method for class 'iload.molecules'
hasNext(obj, ...)

Arguments

obj

an iterator object.

...

additional arguments that are ignored.

Value

Logical value indicating whether the iterator has a next element. In the context of reading a structure file, this indicates whether there are more molecules to read

See Also

iload.molecules


rcdk documentation built on Sept. 26, 2018, 9:05 a.m.