toStrictlyPositiveInt

@SinceKotools(project = Project.Types, version = "1.1")
fun Int.toStrictlyPositiveInt(): StrictlyPositiveInt

Returns this value as a StrictlyPositiveInt, or throws an StrictlyPositiveInt.ConstructionError if this value is negative.