Methods
(static) predicateToRemoveIsRootPredicate(root, predicateToRemove) → {boolean}
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, CompoundPredicate, ComparisonPredicate) → {boolean}
Parameters:
Name | Type | Description |
---|---|---|
root |
CompoundPredicate | root predicate |
CompoundPredicate |
function | CompoundPredicate constructor function |
ComparisonPredicate |
function | ComparisonPredicate constructor function |
Returns:
true if the predicate to remove is the last ComparisonPredicate
- Type
- boolean