Skip to contents

Get the values stored in an enum

Usage

enumValues(enum)

Arguments

enum

enum containing the values

Value

List of values stored in the enum.

See also

Other enumeration-helpers: enumGetKey(), enumGetValue(), enumHasKey(), enumKeys(), enumPut(), enumRemove(), enum()

Examples

Symbol <- enum(c(Diamond = 1, Triangle = 2, Circle = 2))
enumValues(Symbol)
#> [1] 1 2 2