Compound Predicates

Parent Previous Next

Compound Predicates


Condition comparing two Predicates.


Syntax


(Predicate <operator> Predicate)



Arguments

operator – Either && or ||. && means both predicates must be true for the compound predicate to be true, || means either of the predicates may return true for the compound predicate to be true.


Examples


If (Any(RunSelector('PreCommands')) || Any(RunSelector('PostCommands')))

{

Span(‘Either the selector PreCommands or the selector PostCommands contained at least one object.’);

}