| enumGetValue | R Documentation |
Return the value that is stored under the given key. If the key is not present, an error is thrown.
enumGetValue(enum, key)
enum |
The |
key |
The |
Value that is assigned to key.
Other enumeration-helpers:
enumGetKey(),
enumHasKey(),
enumKeys(),
enumPut(),
enumRemove(),
enumValues(),
enum()
Symbol <- enum(c(Diamond = 1, Triangle = 2, Circle = 2)) enumGetValue(Symbol, "Diamond")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.