isValidDocumentType

fnbool isValidDocumentType(OdfDocumentType docType) @safe pure nothrow @nogc

Checks whether the given document type represents a valid ODF document.

Parameters

docTypeThe document type to check.

Returns

true if the type is not NONE.