Any( )

Parent Previous Next

Any( )


The Any() predicate determines whether a given object selector contains any objects.


Syntax


Any(<object selector>);



Arguments

object selector – any object selector.


Returns

True if the object selector contains at least one object, otherwise it returns false.


Examples


If(Any(RunSelector('PreCommands')))

{

Span(‘The stored selector called PreCommands contained at least one object.’);

}