diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-04-23 17:57:02 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-04-24 12:30:09 +0200 |
commit | b390b41f7401ccb06e57ec459bf996ebdc4bd0f8 (patch) | |
tree | 666ac410d8dc2902bf6a1fdcee47a0b6a9769e5b /doc/concepts/expressions.md | |
parent | eb085c33aba12a332c3ee8e73d26a241a6996c41 (diff) | |
download | justbuild-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/expressions.md')
-rw-r--r-- | doc/concepts/expressions.md | 4 |
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 |