Gets the root store of a given tree child, or undefined if none.
Root store type.
Target to find the root store for.
Gets the root store of a given tree child, or undefined if none.