MethodParameter

Parameter of an Executable.

See also

Inheritors

Properties

Link copied to clipboard
abstract val index: Int

The index at which the parameter is, starts at 1 (#0 is the instance parameter).

Link copied to clipboard
abstract val isNullable: Boolean

Whether this parameter's value can be omitted.

Link copied to clipboard

Whether this parameter's value can either be omitted or null

Link copied to clipboard
abstract val isOptional: Boolean

Whether this parameter's value can be null.

Link copied to clipboard
abstract val kParameter: KParameter

The parameter of the function.

Link copied to clipboard
abstract val name: String

Name of the parameter.

Link copied to clipboard
abstract val type: KType

Generified type of the parameter.