FIELD (original) (raw)

kotlin-stdlib/kotlin.annotation/AnnotationTarget/FIELD

FIELD

Field, including property's backing field

Properties

name

Link copied to clipboard

expect val name: String

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

ordinal

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).

Thanks for your feedback!

Was this page helpful?