Operations ‣ Rules ‣ Utilities ‣ Tools ‣ anyOf
Returns the first non-empty object which are passed as arguments. If all the arguments are empty, an empty text is returned. One or more lists can be passed instead of single values. Single values and lists can be mixed.
Can be used e.g. if the desired value can occur in one of several attributes.
Example
- Assuming
attr1
is empty andattr2
is not, thenanyOf($('attr1'),$('attr2'),$('attr3')
returns the value ofattr2
.