Sanity Library Reference Docs
    Preparing search index...
    • Whether a GROQ expression reads its root document at all: a named path or a whole-document read. Reading another document is not a read of this one, so RootDocumentReads.readsOtherDocuments alone answers false, as does a malformed expression.

      Parameters

      • groq: string

      Returns boolean