StrictlyPositiveInt
Deprecated
Use the strictlyPositiveIntOrThrow function instead.
Replace with
import kotools.types.number.strictlyPositiveIntOrThrow
Content copied to clipboard
strictlyPositiveIntOrThrow(value)
Content copied to clipboard
Returns the value as a StrictlyPositiveInt, or throws an StrictlyPositiveInt.ConstructionError if the value is negative.