isZero

fun Number.isZero(): Boolean

It determines whether the specified number has a zero value.

Return

true if the specified number is equal to zero.

Sources

Link copied to clipboard