Logical Commands (Template Language)

Logical boolean commands of Software Ideas Modeler 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: And(p1, p2, p3) returns false when p1=true, p2=false, p3=true.

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: Or(p1, p2) returns true when p1=true, p2=false.

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: Not(p1) returns true when p1=false.

New Comment

Comment