Is there a way to write an If statement is Swift such as the following?
if a>b or c/d { //Do Something }
Just like everywhere:
if a > b || d % c == 0 { // do sth }
I assume your c/d
means you'd like d
to be a multiple of c
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With