You are here

public function SassNode::hasChildren in Sassy 7

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

* Returns a value indicating if this node has children *

Return value

boolean true if the node has children, false if not

File

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

Class

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

Code

public function hasChildren() {
  return !empty($this->children);
}