Home > @uniformdev/canvas > evaluateWalkTreePropertyCriteria
evaluateWalkTreePropertyCriteria() function
Warning: This API is now obsolete.
beta functionality subject to change
Function to call to evaluate conditional properties rules when traversing the node tree with walkNodeTree or other traversal tool. This function will perform a simplification of the conditional property values, removing known-non-matching conditions, and for authoritative matches the match value replaces the value
property, clearing the conditionals.
Automatically also evaluates localizable conditional values.
NOTE: this function may mutate its input object for maximum performance.
Signature:
Parameters
Parameter | Type | Description |
---|---|---|
{ rules, node, keepIndeterminate, } | EvaluateWalkTreePropertyCriteriaOptions |
Returns:
void