Programmer's Guide > Interfaces > W3C Node interface > hasChildNodes method
  
hasChildNodes method
Returns whether this node has any children.
hasChildNodes( )
Parameters
None
Returns
booleantrue if this node has any children, false otherwise.