| is.promise | R Documentation | 
Use is.promise to determine whether an R object is a promise. Use
as.promise (an S3 generic method) to attempt to coerce an R object to a
promise, and is.promising (another S3 generic method) to test whether
as.promise is supported. This package includes support for converting
future::Future objects into promises.
is.promise(x)
is.promising(x)
as.promise(x)
| x | An R object to test or coerce. | 
as.promise returns a promise object, or throws an error if the
object cannot be converted.
is.promise returns TRUE if the given value is a promise object, and
FALSE otherwise.
is.promising returns TRUE if the given value is a promise object or
if it can be converted to a promise object using as.promise, and FALSE
otherwise.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.