The OpenD Programming Language

Element.removeChildren

This removes all the children from this element, returning the old list.

class Element
removeChildren
()
out (ret) { assert (children.length == 0); debug foreach (r; ret) assert (r.parentNode is null); }

Meta