toNegativeInt

Deprecated

Use the Int.toNegativeIntOrThrow function instead.

Replace with

import kotools.types.number.toNegativeIntOrThrow
this.toNegativeIntOrThrow()

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