orNull

infix fun orNull(value: Int): StrictlyPositiveInt?

Deprecated

Use the StrictlyNegativeIntOrNull function instead.

Replace with

import kotools.types.number.StrictlyNegativeIntOrNull
StrictlyNegativeIntOrNull(value)

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