is.iteror | R Documentation |
is.iteror
indicates if an object is an iteror.is.iteror
indicates if an object is an iteror.
is.iteror(x)
x |
any object. |
TRUE if the object has class iteror
.
it <- iteror(1:3)
stopifnot(is.iteror(it))
repeat {
print(nextOr(it, break))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.