Function isFileAssetId

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

    Parameters

    • documentId: string

      Document ID to check

    Returns boolean

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