Please enable JavaScript to use CodeHS

CodeHS Glossary


Negate General

To flip a boolean value, or take the opposite of a boolean value. If you negate true, you get false. If you negate false, you get true.