Sanity Library Reference Docs
    Preparing search index...
    • Whether documentType is a system document: one in Sanity's reserved sanity. or system. namespaces, or one the engine owns and writes for itself. A subject entry that declares no types never matches one. Naming a reserved type such as sanity.imageAsset or system.release in types explicitly still matches; an engine-owned type does not, even when named, at every applicability read.

      Parameters

      • documentType: string

      Returns boolean