objectKeyByValue
objectKeyByValue(object, value) ⇒ string | undefined
Given an object and a value, find the first property with matching value and returns name of that property Useful for working with ENUM-like objects
Kind: global function
Returns: string | undefined - name of the property, or undefined if property not found
| Param | Type |
|---|---|
| object | Object.<T> |
| value | T |