toPositiveIntOrThrow
@SinceKotools(project = Project.Types, version = "3.2", stability = StabilityLevel.Alpha)
Content copied to clipboard
Returns this value as a PositiveInt, or throws an IllegalArgumentException if this value is strictly negative.