and in swift1

124

// A logical and in swift is "&&"
// A logical or in swift is "||"

//E.g.
if a > 0 && i == j || f < 3 {
    ...
}

Comments

Submit
0 Comments