MCPcopy
hub / github.com/simstudioai/sim / isImageFileType

Function isImageFileType

apps/sim/lib/uploads/utils/file-utils.ts:114–116  ·  view source on GitHub ↗
(mimeType: string)

Source from the content-addressed store, hash-verified

112)
113
114export function isImageFileType(mimeType: string): boolean {
115 return IMAGE_MIME_TYPES.has(mimeType.toLowerCase())
116}
117
118/**
119 * Check if a MIME type is an audio type

Callers 4

readFileRecordFunction · 0.90
generateCopilotUploadUrlFunction · 0.90
route.tsFile · 0.90
route.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected