Open this page in the API Guide

FileSystemEntryNode.removeAllChildren Method

Removes all children from this node.