nonZeroOrNull
Deprecated
Use toNonZeroIntOrNull() instead.
Replace with
import kotools.types.number.toNonZeroIntOrNull
Content copied to clipboard
toNonZeroIntOrNull()
Content copied to clipboard
Transforms the current Int to a NonZeroInt, or returns null
if the current value is 0
.