Option {matchr} | R Documentation |
Option
Description
An Enum that mimics Rust's "Option" type. This is used to denote whether
a function returned an object or not, rather than returning NULL
.
Usage
Option
Format
list with 1 Enum generators and 1 Enum variant
- Some(x)
Wrap
x
in the 'Some' variant.- None
Variant denoting that nothing was returned.
[Package matchr version 0.1.0 Index]