Checks whether the argument contains any DEFAULT tree selection type. If yes, throws an error, otherwise returns with a reference the argument.
Returns with an array of items representing the selection range. The from node is the focus the to node
is the selected node itself on the tree selection. Both the from node and the to node are inclusive.
Class for representing and managing the selection state and the focus of a tree.