Documentation / @zerotal/admin / index / describeRuleTree
Function: describeRuleTree()
describeRuleTree(
node,filter?):string
Defined in: admin/src/table/Filter.ts:52
A short human summary of a rule tree, for the active-filter chips.
"Advanced filter: 3 rules" tells someone their list is narrowed and by roughly how much; the builder itself shows the detail. One rule gets named outright, since that is the common case and the label fits.
Parameters
node
QueryRule | null
filter?
_constraints
Returns
string