You are here

public function HamlNode::hasChildren in Sassy 7

* Returns a value indicating if this node has children *

Return value

boolean true if the node has children, false if not

File

phamlp/haml/tree/HamlNode.php, line 141

Class

HamlNode
HamlNode class. Base class for all Haml nodes. @package PHamlP @subpackage Haml.tree

Code

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