enumGetValueByName

fun enumGetValueByName(enumClass: EnumClass, name: String): EnumValue?

Looks up a #GEnumValue by name.

Return

the #GEnumValue with name @name, or null if the enumeration doesn't have a member with that name

Parameters

enumClass

a #GEnumClass

name

the name to look up