Sanity Library Reference Docs
    Preparing search index...
    • Map a raw GROQ result to the three-valued ConditionOutcome: GROQ null/undefined is 'unevaluable', anything else resolves by truthiness. The one place that coercion lives.

      Parameters

      • result: unknown

      Returns ConditionOutcome