orNull
Deprecated
Use the PositiveIntOrNull function instead.
Replace with
import kotools.types.number.PositiveIntOrNull
Content copied to clipboard
PositiveIntOrNull(value)
Content copied to clipboard
Returns the value as a PositiveInt, or returns null
if the value equals 0.