Skip to contents

Retrieves the value of an enum object.

Usage

# S3 method for class 'enum'
x$name

Arguments

x

An enum object

name

The name of the field to access (should be "value")

Value

The value of the enum object