anyp(condition)


Description

Similar to anyc() except that it returns true if any of the parent items meet the condition.

Example

anyp(substr(tv(),1,2)=="M ")
Will return a true value only if the item text for any parent items start with "M "
TV() returns the item text of the parent item to the substr() function

Related Rules

allc(), alld(), allp(), anyd(), anycf(), anyd(), anyf()