toNegativeInt

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

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