notNull

fun <O : Any> KVar<O?>.notNull(default: O? = null, invertDefault: Boolean = true): KVar<O>(source)

Bi-directionally map a KVar with nullable type to its non-nullable equivalent.