doctype
.doctype type:{DocumentType? = null} -> Any
Content copied to clipboard
If type is not null
, it sets the document type to its value. The document type affects its final output style. If it's null
, the name of the current document type is returned.
Return
the lowercase name of the current document type if type is null