StrictlyNegativeInt
Deprecated
Use the strictlyNegativeIntOrThrow function instead.
Replace with
import kotools.types.number.strictlyNegativeIntOrThrow
Content copied to clipboard
strictlyNegativeIntOrThrow(value)
Content copied to clipboard
Returns the value as a StrictlyNegativeInt, or throws an StrictlyNegativeInt.ConstructionError if the value is positive.