toothpick-runtime / toothpick / ScopeNode / getRootScope

getRootScope

open fun getRootScope(): ScopeNode

Return
the root scope of this scope. The root scope is the scope itself if the scope has no parent. Otherwise, if it has parents, it is the highest parent in the hierarchy of parents.