Function isImageAssetId

  • Checks whether or not the given document ID is a valid Sanity image asset document ID

    Parameters

    • documentId: string

      Document ID to check

    Returns boolean

    Whether or not the given document ID is a Sanity image asset document ID