Empty¶
object Empty : SentierValues
The empty SentierValues instance.
Functions¶
fold¶
Combines all the values into a single value.
This is useful to convert the data out of this data structure.
get¶
open operator override fun <T> get(value: SentierValue<T>): Nothing?
The empty instance contains no values, so accessing values always returns null.
toString¶
with¶
inline fun <T> SentierValues.with(spec: SentierValue<T>, value: () -> T): SentierValues