Function Tree.getRoot

Returns the tree's root item, or null if the tree is empty.

TreeItem getRoot() nothrow @nogc;