Sanity Library Reference Docs
    Preparing search index...
    • Whether a dot-joined attribute path can be written into GROQ with no base, as a.b rather than $var.a.b, and read the same attributes. Every segment must match GROQ's attribute-name grammar, and the leading segment must not be true, false, or null, which GROQ reads as literals in that position. A path that fails needs a base or bracket access.

      Parameters

      • path: string

      Returns boolean