Sanity Library Reference Docs
    Preparing search index...
    • Extract the bare document _id from a GDR URI — what *[_id == $docId] in GROQ needs.

      Parameters

      • gdrUriString: string

      Returns string