toNegativeInt

@SinceKotoolsTypes(version = "4.0")
fun Int.toNegativeInt(): Result<NegativeInt>

Returns this integer as a NegativeInt, or returns an IllegalArgumentException if this integer is strictly positive.