@MortySmith to Swift • 2 months agoIf you have more than 2 conditions, and do not want to recreate an element with if else statement, what do you do since ternary operations might get too confusing?imagemessage-square3arrow-up19arrow-down10
arrow-up19arrow-down1imageIf you have more than 2 conditions, and do not want to recreate an element with if else statement, what do you do since ternary operations might get too confusing?@MortySmith to Swift • 2 months agomessage-square3
A switch statement?