nonZeroOrNull

@SinceKotoolsTypes(version = "1.0")
val Int.nonZeroOrNull: NonZeroInt?

Deprecated

Use toNonZeroIntOrNull() instead.

Replace with

import kotools.types.number.toNonZeroIntOrNull
toNonZeroIntOrNull()

Transforms the current Int to a NonZeroInt, or returns null if the current value is 0.