R/enum.R
cash-.enum.Rd
Retrieves the value of an enum object.
# S3 method for class 'enum' x$name
An enum object
The name of the field to access (should be "value")
The value of the enum object