NonZeroInt

Deprecated

Use the nonZeroIntOrThrow function instead.

Replace with

import kotools.types.number.nonZeroIntOrThrow
nonZeroIntOrThrow(value)

Returns the value as a NonZeroInt, or throws an NonZeroInt.ConstructionError if the value equals zero.