WLJS LogoWLJS Notebook

Not

!expr is the logical NOT function. It gives False if expr is True, and True if it is False.

Examples

Logical NOT:

!True
(* False *)

!False
(* True *)

With conditions:

x = 5;
!(x > 10)
(* True *)

Please visit the official Wolfram Language Reference for more details.

On this page