enumGetValue

fun enumGetValue(enumClass: EnumClass, value: Int): EnumValue?

Returns the #GEnumValue for a value.

Return

the #GEnumValue for @value, or null if @value is not a member of the enumeration

Parameters

enumClass

a #GEnumClass

value

the value to look up