powered by
Get all keys of an enum
enumKeys(enum)
enum containing the keys.
enum
List of key names.
key
Other enumeration-helpers: enumGetKey(), enumGetValue(), enumHasKey(), enumPut(), enumRemove(), enumValues(), enum()
enumGetKey()
enumGetValue()
enumHasKey()
enumPut()
enumRemove()
enumValues()
enum()
# NOT RUN { Symbol <- enum(c(Diamond = 1, Triangle = 2, Circle = 2)) enumKeys(Symbol) # }
Run the code above in your browser using DataLab