3 ms·
?. Should generally be rare and can be combined with null coalescence to reduce occurrences: Void func doThing(state : State?) { var idx = state?.idx ?? -1
by grog454 4y ago
?. Should generally be rare and can be combined with null coalescence to reduce occurrences:
Void func doThing(state : State?) {
var idx = state?.idx ?? -1
//No more ?. Needed
}