nonZero
Deprecated
Use toNonZeroInt() instead.
Replace with
import kotools.types.number.toNonZeroInt
Content copied to clipboard
toNonZeroInt()
Content copied to clipboard
Transforms the current Int to a NonZeroInt, or throws an IllegalArgumentException if the current value is 0
.