Logical Commands (Template Language)
Command | Result Type | Description |
---|---|---|
And(...bool) | Boolean |
Executes a logical AND operation on all given boolean arguments. This command can accept multiple boolean parameters. Parameters: A comma-separated list of boolean values (true or false). Any non-boolean inputs will be automatically treated as false. Example: |
Or(...bool) | Boolean |
Executes a logical OR operation on all given boolean arguments. This command is designed to handle multiple boolean parameters. Parameters: A comma-separated list of boolean values (true or false). Similar to And, any non-boolean inputs are considered as false. Example: |
Not(p) | Boolean |
Inverts the boolean value of the input parameter p. If the input is not a boolean value, it is treated as false, and thus, the command returns true. Parameter: A single boolean value (true or false). Example: |
New Comment