Add a new key-value pairs to an enum
Arguments
- keys
Keys of the values to be added
- values
Values to be added
- enum
The enum to which the specified key-value pairs should be added. WARNING: the original object is not modified!
- overwrite
If
TRUEand a value with any of the givenkeysexists, it will be overwritten with the new value. Otherwise, an error is thrown. Default isFALSE.
See also
Other enumeration-helpers:
enum(),
enumGetKey(),
enumGetValue(),
enumHasKey(),
enumKeys(),
enumRemove(),
enumValues()