nameFunction

@CheckReturnValue
@JvmName(name = "setNameFunction")
fun nameFunction(function: EnumNameFunction<E>): EnumResolverBuilder<E>(source)

Sets the function transforming the enum value into the display name, uses Resolvers.toHumanName by default.