Core API – Kotlin Programming Language (original) (raw)

kotlin-stdlib/kotlin.annotation/AnnotationTarget/VALUE_PARAMETER

VALUE_PARAMETER

VALUE_PARAMETER

Value parameter of a function or a constructor

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?