orNull

infix fun orNull(value: Int): NonZeroInt?

Returns the value as a NonZeroInt, or returns null if the value equals 0.