toNonZeroInt

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

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