Property

open class Property<T>(value: T, isDefault: Boolean = false)

Read-only property of type T with context information, whether the property contains a default value. Usable as property delegate.

Parameters

value

actual value of the property

isDefault

true, if value constitutes a default value

Inheritors

Constructors

Link copied to clipboard
constructor(value: T, isDefault: Boolean = false)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var value: T

Functions

Link copied to clipboard
operator fun getValue(thisRef: Any?, prop: KProperty<*>): T

Read method for property delegation.

Link copied to clipboard
infix fun leftMerge(other: Property<T>): Property<T>

Merges the other property into this property.