This would accept two conditions, configured very much like the conditions used in Shortcuts’ built-in If statements, and return a Boolean indicating whether they are both true (AND), at least one is true (OR), both have opposite values (XOR), or the negations of those operators. The user would be able to select which operator the action uses.
For example:
Without this action, I would implement the above example like this:
This works for two conditions, but any more and the cascade of If statements becomes much larger. It would be great to be able to represent these in a concise way.
A series of these actions could also be used to represent even more conditions at once. (e.g. (a && b) || (c ^ d)
would take three of these actions, since there are AND, XOR, and OR operations in that statement)
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too