Skip to contents

Returns the numeric value backing the given enum value.

Arguments

enum

ANY

Examples

if (FALSE) { # \dontrun{
enum_code('happy'::mood)
} # }