Function isSanityFileAsset

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

    Parameters

    • src: unknown

      Source to check

    Returns src is SanityFileAsset

    Whether or not the given source is a file asset