Description Usage Arguments Value Examples
View source: R/result_option.R
Create an Enum variant of Option
used to denote that function returned a value.
This allows the creation of safer functions that extract values from other objects, without using
try
or tryCatch
.
1 | Some(x)
|
x |
Object to be wrapped in the Enum variant. |
a list with a single value x
and classes "Option} and \code{"Enum
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.