Is there a cool idiomatic way of incrementing a nu...
# announcements
a
Is there a cool idiomatic way of incrementing a nullable int? I know
?.plus(1)
actually returns a new int rather than incrementing the one it's applied on. I tried
test = test?.apply { this++ }
but that's also invalid.