negativeIntOrThrow

@SinceKotools(project = Project.Types, version = "3.2", stability = StabilityLevel.Alpha)
fun negativeIntOrThrow(value: Int): NegativeInt

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