Sanity Library Reference Docs
    Preparing search index...
    • Static $fields.<name> / $fields['<name>'] reads (both normalise to the same AST node); $fields[$var] dynamic access has no static name and is skipped. A malformed condition reads nothing here rather than throwing — the deploy-time syntax check owns the parse error.

      Parameters

      • groq: string

      Returns ReadonlySet<string>