You are here

public function SassNode::hasChildren in Sassy 7.3

Same name and namespace in other branches
  1. 7 phamlp/sass/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

phpsass/tree/SassNode.php, line 145

Class

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

Code

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