레퍼런스 hasChildren()

hasChildren()

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

예제

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!

관련 레퍼런스