TreeRules
Details
- TreeRules returns the rules associated with a tree expression.
- The inverse operation of TreeRules is performed by RulesTree.
- If tree has a list of children, then TreeRules[tree] gives data{rule1,rule2,…}, where data is the data in tree and rulei are the rules associated with its children.
- TreeRules[Tree[data,<key1tree1,key2tree2,… >]] gives data<key1TreeRules[tree1],key2TreeRules[tree2],… >.
- TreeRules[Tree[data,None]] for data of the form …{…}, …<… > or …None gives dataNone rather than data. »
Examples
open allclose allBasic Examples (3)
Scope (4)
Properties & Relations (2)
Wolfram Research (2021), TreeRules, Wolfram Language function, https://reference.wolfram.com/language/ref/TreeRules.html (updated 2022).
Text
Wolfram Research (2021), TreeRules, Wolfram Language function, https://reference.wolfram.com/language/ref/TreeRules.html (updated 2022).
CMS
Wolfram Language. 2021. "TreeRules." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2022. https://reference.wolfram.com/language/ref/TreeRules.html.
APA
Wolfram Language. (2021). TreeRules. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/TreeRules.html