Sanity Library Reference Docs
    Preparing search index...
    Condition: string

    A raw GROQ string evaluated over the rendered scope: the engine-bound variables inventoried in CONDITION_VARS (each annotated with the context that binds it) plus the author's nullary predicates as $<name> booleans. Evaluation runs against the instance's in-memory snapshot — never a _type scan over the lake (rejected at deploy).

    There is no {ref, args} wrapper: parameterized reuse is a define-time TypeScript function producing a condition string (see the groq tag).