floating

open fun <T> floating(t: T): GetSetter<T>(source)

Create a floating GetSetter. This GetSetter is not backed by anything and will simply act like a normal field.

Return

a floating GetSetter

Parameters

t

the initial value

<T>

the type of the value this GetSetter will hold