The OpenD Programming Language

Element.removeAllChildren

Removes all inner content from the tag; all child text and elements are gone.

class Element
void
removeAllChildren
()
out { assert (this.children.length == 0); }

Meta