Reference hasChildren()

hasChildren()

Returns true if the element has child elements and false if not.

Examples

Returns

Boolean: whether the element has children.
Notice any errors or typos? Please let us know. Please feel free to edit src/io/p5.XML.js and open a pull request!

Related References