MCPcopy Index your code
hub / github.com/simstudioai/sim / isAudioFileType

Function isAudioFileType

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

Source from the content-addressed store, hash-verified

119 * Check if a MIME type is an audio type
120 */
121export function isAudioFileType(mimeType: string): boolean {
122 return getContentType(mimeType) === 'audio'
123}
124
125/**
126 * Check if a MIME type is a video type

Callers 1

FilesFunction · 0.90

Calls 1

getContentTypeFunction · 0.70

Tested by

no test coverage detected