EnumName extension

Access to the name of an enum value.

This method is declared as an extension method instead of an instance method in order to allow enum values to have the name name.

on
Annotations
  • @Since("2.15")

Properties

name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter