toStrictlyPositiveInt

@SinceKotools(project = Project.Types, version = "3.2")
fun Int.toStrictlyPositiveInt(): Result<StrictlyPositiveInt>

Returns this integer as a StrictlyPositiveInt, or IllegalArgumentException if this integer is negative.