func test(a: Bool, b: Bool, c: Bool) { // logical operations if (a && b) {} if (a || b) {} if (!a) {} if (!((a && b) || c)) {} }