In logic, the negation operator produces the opposite of a [[Boolean value]]. If A is true, then ~A is false. If B is false, ~B is true. | In logic, the negation operator produces the opposite of a [[Boolean value]]. If A is true, then ~A is false. If B is false, ~B is true. |