allp(condition)

Description

Just like the allc() function but it works on parent items.
Returns true if all parent items meet the condition.

Example

allp(has_contain_date())
checks the item text for each parent item and if they all contain a valid date returns true.

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

Related Rules

allc(), alld(), anyc(), anycf(), anyd(), anyf(), anyp()

Rules