Swift NOT Operator ! is used to perform logical NOT operation on a boolean operand . ! symbol is used for Logical NOT Operator in Swift. NOT Operator takes one boolean value as operands on its right and returns the logical NOT of the operand.
Read moreWhat does ~= mean in Swift?
Discussion. The pattern-matching operator ( ~= ) is used internally in case statements for pattern matching. When you match against an Equatable value in a case statement, this operator is called behind the scenes.
Read more