This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
cmd:isset [2011/04/08 18:46] mcb30 |
cmd:isset [2011/04/08 18:48] mcb30 |
||
---|---|---|---|
Line 23: | Line 23: | ||
===== Description ===== | ===== Description ===== | ||
- | Test existence of the specified value, which will normally be a configuration [[:settings|setting]]. Existence is indicated via the command status; the conditional operators ''&&'' and ''||'' can be used to decide what action to take based upon the existence or non-existence of the setting. | + | Test existence of the specified value, which will normally be a configuration [[:settings|setting]]. Existence is indicated via the command status; the conditional operators ''&&'' and ''||'' can be used to decide what action to take as a result. |
===== Command status ===== | ===== Command status ===== | ||
- | ^ Success | The configuration setting exists | | + | ^ Success | The value exists | |
- | ^ Failure | The configuration setting does not exist | | + | ^ Failure | The value does not exist | |
===== See also ===== | ===== See also ===== |