OUT

The affected type parameter or type is covariant. Denoted by the out modifier in the source code.

Properties

Link copied to clipboard
expect val name: String

Returns the name of this enum constant, exactly as declared in its enum declaration.

Link copied to clipboard
expect val ordinal: Int

Returns the ordinal of this enumeration constant (its position in its enum declaration, where the initial constant is assigned an ordinal of zero).