Learn JavaScript
Logical Operations
13.5
Lesson

NOT

! returns true if the value is false and false if the value is true.