strictlyPositive
Deprecated
Use toStrictlyPositiveInt() instead.
Replace with
import kotools.types.number.toStrictlyPositiveInt
Content copied to clipboard
toStrictlyPositiveInt()
Content copied to clipboard
Transforms the current Int to a StrictlyPositiveInt, or throws an IllegalArgumentException if the current value is not greater than 0.