strictlyPositiveOrNull
Deprecated
Use toStrictlyPositiveIntOrNull() instead.
Replace with
import kotools.types.number.toStrictlyPositiveIntOrNull
Content copied to clipboard
toStrictlyPositiveIntOrNull()
Content copied to clipboard
Transforms the current Int to a StrictlyPositiveInt, or returns null
if the current value is not greater than 0.