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