positiveIntOrNull

@SinceKotools(project = Project.Types, version = "3.2", stability = StabilityLevel.Alpha)
fun positiveIntOrNull(value: Int): PositiveInt?

Returns the value as a PositiveInt, or returns null if the value is strictly negative.