Baum\Node::isTrunk PHP Method

isTrunk() public method

Returns true if this is a trunk node (not root or leaf).
public isTrunk ( ) : boolean
return boolean
    public function isTrunk()
    {
        return !$this->isRoot() && !$this->isLeaf();
    }