add

abstract fun add(element: T)(source)

Adds an element to the property value.

Parameters

element

The element


abstract fun add(provider: Provider<out T>)(source)

Adds an element to the property value.

The given provider will be queried when the value of this property is queried. This property will have no value when the given provider has no value.

Parameters

provider

The provider of an element