getEnum

inline fun <E : Enum<E>, ChoiceEnum> getEnum(arg: String, locale: Locale): E?

The default choice enum value getter — matches choice enums via a case-insensitive string comparison with the names.