summaryrefslogtreecommitdiff
path: root/doc/concepts
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2024-04-23 17:57:02 +0200
committerKlaus Aehlig <klaus.aehlig@huawei.com>2024-04-24 12:30:09 +0200
commitb390b41f7401ccb06e57ec459bf996ebdc4bd0f8 (patch)
tree666ac410d8dc2902bf6a1fdcee47a0b6a9769e5b /doc/concepts
parenteb085c33aba12a332c3ee8e73d26a241a6996c41 (diff)
downloadjustbuild-b390b41f7401ccb06e57ec459bf996ebdc4bd0f8.tar.gz
expressions: add logical negation
While this can already be expressed by an "if" statement, having a dedicated function for logical negation makes some expressions more readable.
Diffstat (limited to 'doc/concepts')
-rw-r--r--doc/concepts/expressions.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/concepts/expressions.md b/doc/concepts/expressions.md
index b3dbd82f..d54bf34f 100644
--- a/doc/concepts/expressions.md
+++ b/doc/concepts/expressions.md
@@ -213,6 +213,10 @@ those) argument(s) to obtain the final result.
##### Unary functions
+ - `"not"` Return the logical negation of the argument, i.e.,
+ if the argument is logically false, return `true`, and `false`
+ otherwise.
+
- `"nub_right"` The argument has to be a list. It is an error
if that list contains (directly or indirectly) a name. The
result is the input list, except that for all duplicate