# not operator

The not operator represents a *not equal to* condition. This reverses the true sense of the condition
in a selection criteria. The #, no, and ne operators perform the same function as
not.

**Synonyms:** #, ne

## Syntax

```
if not {each} attr.name{operator} {"value"}
```

## Example(s)

```
list jobs if not stat = "c"
```

```
list jobs if stat not "c"
```

## See also

- [le operator](https://d3codex.com/access/le-operator/)
- [ne operator](https://d3codex.com/access/ne-operator/)
- [no operator](https://d3codex.com/access/no-operator/)
- [Relational operators and logical clauses](https://d3codex.com/access/relational-operators-and-logical-clauses/)
- [with modifier](https://d3codex.com/access/with-modifier/)
- [without modifier](https://d3codex.com/access/without-modifier/)

---
Source: https://d3codex.com/access/not-operator/ - part of the D3Codex reference.
