toNonZeroIntOrThrow

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

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