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

Function isVideoFileType

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

Source from the content-addressed store, hash-verified

126 * Check if a MIME type is a video type
127 */
128export function isVideoFileType(mimeType: string): boolean {
129 return getContentType(mimeType) === 'video'
130}
131
132/**
133 * Check if a MIME type is an audio or video type

Callers 1

FilesFunction · 0.90

Calls 1

getContentTypeFunction · 0.70

Tested by

no test coverage detected