Sanity Library Reference Docs
    Preparing search index...
    • GDR types in a reference-kind (refKindAcceptsTypes) value that the entry's declared types reject — empty when it conforms, no types are declared, or the kind isn't a ref. Skips non-GDR-shaped values; the shape schemas already reject those.

      Parameters

      • args: { entryType: string; types: readonly string[] | undefined; value: unknown }

      Returns string[]