Libraries anvil runtime Doc getChild

Doc getChild()
Returns first child from this document.
Doc getChild(string type)
Returns first child from this document matching given type.
Doc getChild(string type, string ident)
Returns first child from this document matching given type and identifier.
Parameters type -  Type of document to search for
ident -  Identifier of document to search for
Returns Doc or undefined, if there were no matching documents.