method

doctype

doctype()
public

@return the DocType child of the document, if one exists, and nil otherwise.