Oh, I see.
Thanks! This one is better.
I was converting bool to int and using ‘switch on int’ but this one is better, since I don’t have to convert the type of the variable.
Oh, I see.
Thanks! This one is better.
I was converting bool to int and using ‘switch on int’ but this one is better, since I don’t have to convert the type of the variable.