summaryrefslogtreecommitdiffstats
path: root/doc/antora/modules/unlang/pages/condition/not.adoc
blob: bde038e2de3f7d67e58cb5196b34adb4541608a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
= The ! Operator

.Syntax
[source,unlang]
----
! condition
----

The `!` operator negates the result of the following condition.  It
returns `true` when _condition_ returns `false`.  It returns `false`
when _condition_ returns `true`.

.Examples

`(! (foo == bar))` +
`! &User-Name`

// Copyright (C) 2020 Network RADIUS SAS.  Licenced under CC-by-NC 4.0.
// Development of this documentation was sponsored by Network RADIUS SAS.