Names the entry of an enumeration that stands for a value.
The enumeration's name, such as MAV_STATE.
MAV_STATE
The value a field carried.
The entry's name, or null if no entry names the value.
null
If the enumeration is unknown, or the value is not a whole number from 0 up.
enumEntry('MAV_STATE', heartbeat.get('system_status')) // 'MAV_STATE_STANDBY' Copy
enumEntry('MAV_STATE', heartbeat.get('system_status')) // 'MAV_STATE_STANDBY'
Names the entry of an enumeration that stands for a value.