getDoctype (DOMDocument - JavaScript)

Gets the document type declaration (see DOMDocumentType) associated with this document.

Defined in

DOMDocument

Syntax

getDoctype() : DOMDocumentType