notNull

fun <T> Pointer<T?>.notNull(msg: String? = null): Pointer<T>(source)

Make sure that the value of the pointer is not null

Return

The pointer

Since

0.1.0

Parameters

msg

The message of the exception that will be thrown if the value is null