Function isSanityImageAsset

  • Checks whether or not the given source is a (partial) sanity image asset document. Only checks the _type property, all other properties may be missing

    Parameters

    • src: unknown

      Source to check

    Returns src is SanityImageAsset

    Whether or not the given source is a file asset