isNull

fun <T> T?.isNull(): Boolean

Checking nullability.

Example:

val num: Int? = null
num.isNull() // true

val num2 = 1
num2.isNull() // false

Since

1.1.0

Return

Boolean