powered by
Return the enumerated type name of an object, if a name was provided.
enum_type(x, ...)
Enum object
objects passed to methods
character with the name of the enumerated type or NULL
NULL
# NOT RUN { x <- Result$Ok("hello world!") enum_type(x) # "Result" # }
Run the code above in your browser using DataLab