Format

!A

Returns

1 if A is a false value (zero, an empty string, or null); 0 otherwise.

This operator inverts the truthiness of the value after it.

The number 0, an empty string, or null are all false values. Everything else is true.

See also