src/TaxonomyTerm.php
public function getTaxonomyType()
    {
        $taxonomy = $this->getTaxonomy();
        if ($taxonomy->Type() && $taxonomy->Type()->exists()) {
            return $taxonomy->Type()->Name;
        }
        return '';
    }
public function getTaxonomyType()
    {
        $taxonomy = $this->getTaxonomy();
        if ($taxonomy->Type() && $taxonomy->Type()->exists()) {
            return $taxonomy->Type()->Name;
        }
        return '';
    }
public function getTaxonomyType ( ) { $ taxonomy = $ this -> getTaxonomy ( ) ; if ( $ taxonomy -> Type ( ) && $ taxonomy -> Type ( ) -> exists ( ) ) { return $ taxonomy -> Type ( ) -> Name ; } return '' ; }
Get the type of the top-level ancestor if it is set

@return string
Get the type of the top - level ancestor if it is set