Returns wether or not the given type is a document type (eg that it was defined as type: 'document')
type: 'document'
Schema type to test
True if type is a document type, false otherwise
Returns wether or not the given type is a document type (eg that it was defined as
type: 'document'
)