Skip to content

The open alternative to Salesforce, designed for AI.

179 B
Raw Blame
import { EMAIL_IMAGE_MIME_TYPES } from 'twenty-shared/constants';

export const isImageFile = (file: File) =>
  EMAIL_IMAGE_MIME_TYPES.some((mimeType) => mimeType === file.type);