参考 hasChildren()

hasChildren()

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

示例

返回值

Boolean: whether the element has children.
This page is generated from the comments in src/io/p5.XML.js . Please feel free to edit it and submit a pull request!

相关参考