NonZeroInt
Deprecated
Use the nonZeroIntOrThrow function instead.
Replace with
import kotools.types.number.nonZeroIntOrThrow
Content copied to clipboard
nonZeroIntOrThrow(value)
Content copied to clipboard
Returns the value as a NonZeroInt, or throws an NonZeroInt.ConstructionError if the value equals zero.