Description Usage Arguments Value Examples
View source: R/result_option.R
Create an Enum variant of Result
used to denote that function did not contain an error.
This allows the creation of safer functions.
1 | Ok(x)
|
x |
Object to be wrapped in the Enum variant. |
a list with a single value x
and classes "Result} and \code{"Enum
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.