toNegativeIntOrNull

@SinceKotools(project = Project.Types, version = "1.1")
fun Int.toNegativeIntOrNull(): NegativeInt?

Returns this value as a NegativeInt, or returns null if this value is strictly positive.