Sanity Library Reference Docs
    Preparing search index...
    • Matches a document whose _type is one of subjectTypes, or every create when subjectTypes is empty. A prefilter only, so a match does not mean a definition starts. Throws on a type outside EMITTED_NAME_PATTERN.

      Parameters

      • subjectTypes: string[]

      Returns string