You are here

public function SassNode::hasParent in Sassy 7

Same name and namespace in other branches
  1. 7.3 phpsass/tree/SassNode.php \SassNode::hasParent()

* Return a value indicating if this node has a parent *

Return value

array the node's parent

File

phamlp/sass/tree/SassNode.php, line 104

Class

SassNode
SassNode class. Base class for all Sass nodes. @package PHamlP @subpackage Sass.tree

Code

public function hasParent() {
  return !empty($this->parent);
}