Merge topic 'doc-if-variable-not-defined'
7a2c3f0c
Help: Clarify if(<variable>) documentation (#15335)
This commit is contained in:
commit
427d932498
|
@ -42,11 +42,12 @@ Possible expressions are:
|
||||||
or a non-zero number. False if the constant is ``0``, ``OFF``,
|
or a non-zero number. False if the constant is ``0``, ``OFF``,
|
||||||
``NO``, ``FALSE``, ``N``, ``IGNORE``, ``NOTFOUND``, the empty string,
|
``NO``, ``FALSE``, ``N``, ``IGNORE``, ``NOTFOUND``, the empty string,
|
||||||
or ends in the suffix ``-NOTFOUND``. Named boolean constants are
|
or ends in the suffix ``-NOTFOUND``. Named boolean constants are
|
||||||
case-insensitive. If the argument is not one of these constants, it
|
case-insensitive. If the argument is not one of these specific
|
||||||
is treated as a variable.
|
constants, it is treated as a variable or string and the following
|
||||||
|
signature is used.
|
||||||
|
|
||||||
``if(<variable>)``
|
``if(<variable|string>)``
|
||||||
True if the variable is defined to a value that is not a false
|
True if given a variable that is defined to a value that is not a false
|
||||||
constant. False otherwise. (Note macro arguments are not variables.)
|
constant. False otherwise. (Note macro arguments are not variables.)
|
||||||
|
|
||||||
``if(NOT <expression>)``
|
``if(NOT <expression>)``
|
||||||
|
|
Loading…
Reference in New Issue