nonZeroIntOrThrow

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

Returns the value as a NonZeroInt, or throws an IllegalArgumentException if the value equals zero.