orNull

infix fun orNull(value: Int): PositiveInt?

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