You are here

public function SassNode::hasParent in Sassy 7.3

Same name and namespace in other branches
  1. 7 phamlp/sass/tree/SassNode.php \SassNode::hasParent()

Return a value indicating if this node has a parent

Return value

array the node's parent

File

phpsass/tree/SassNode.php, line 107

Class

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

Code

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