strictlyPositive

@SinceKotoolsTypes(version = "1.0")
val Int.strictlyPositive: StrictlyPositiveInt

Deprecated

Use toStrictlyPositiveInt() instead.

Replace with

import kotools.types.number.toStrictlyPositiveInt
toStrictlyPositiveInt()

Transforms the current Int to a StrictlyPositiveInt, or throws an IllegalArgumentException if the current value is not greater than 0.