rules

Methods

(static) predicateToRemoveIsRootPredicate(root, predicateToRemove) → {boolean}

Source:
Parameters:
Name Type Description
root CompoundPredicate root predicate
predicateToRemove Predicate predicate to remove
Returns:
true if the predicate to remove is the root predicate
Type
boolean

(static) predicateToRemoveIsTheLastComparisonPredicate(root, predicateToRemove, CompoundPredicate, ComparisonPredicate) → {boolean}

Source:
Parameters:
Name Type Description
root CompoundPredicate root predicate
predicateToRemove Predicate predicate to remove
CompoundPredicate function CompoundPredicate constructor function
ComparisonPredicate function ComparisonPredicate constructor function
Returns:
true if the predicate to remove is the last ComparisonPredicate
Type
boolean