doc/antora/modules/unlang/pages/condition/not.adoc
raw| 1 | = The ! Operator |
| 2 | |
| 3 | .Syntax |
| 4 | [source,unlang] |
| 5 | ---- |
| 6 | ! condition |
| 7 | ---- |
| 8 | |
| 9 | The `!` operator negates the result of the following condition. It |
| 10 | returns `true` when _condition_ returns `false`. It returns `false` |
| 11 | when _condition_ returns `true`. |
| 12 | |
| 13 | .Examples |
| 14 | |
| 15 | `(! (foo == bar))` + |
| 16 | `! &User-Name` |
| 17 | |
| 18 | // Copyright (C) 2020 Network RADIUS SAS. Licenced under CC-by-NC 4.0. |
| 19 | // Development of this documentation was sponsored by Network RADIUS SAS. |