NegativeInt

Deprecated

Use the negativeIntOrThrow function instead.

Replace with

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

Returns the value as a NegativeInt, or throws an NegativeInt.ConstructionError if the value is strictly positive.