toPositiveInt

@SinceKotoolsTypes(version = "1.1")
fun Int.toPositiveInt(): PositiveInt

Returns this value as a positive int, or throws an IllegalArgumentException if this value is strictly negative.