of

open fun <V> of(@Nullable value: V): Reference<V>

Creates a new reference with the given value.

Return

a new reference with the given value

Parameters

value

the value of the reference

<V>

the type of the reference