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