Open this page in the API Guide

StructureFolderNode.removeAllChildren Method

Removes all children from this node.