MCPcopy Create free account
hub / github.com/SKaplanOfficial/Raycast-PromptLab / isVideoFile

Function isVideoFile

src/hooks/useFiles.ts:54–56  ·  view source on GitHub ↗
(filepath: string)

Source from the content-addressed store, hash-verified

52};
53
54const isVideoFile = (filepath: string) => {
55 return videoFileExtensions.includes(path.extname(filepath).slice(1).toLowerCase());
56};
57
58const isAudioFile = (filepath: string) => {
59 return audioFileExtensions.includes(path.extname(filepath).slice(1).toLowerCase());

Callers 1

getFileContentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected