Document.hasDoctype

Undocumented in source. Be warned that the author may not have intended to support it.
class Document
bool
hasDoctype
()

Meta