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

Function isAudioFile

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

Source from the content-addressed store, hash-verified

56};
57
58const isAudioFile = (filepath: string) => {
59 return audioFileExtensions.includes(path.extname(filepath).slice(1).toLowerCase());
60};
61
62const isImageFile = (filepath: string) => {
63 return imageFileExtensions.includes(path.extname(filepath).slice(1).toLowerCase());

Callers 1

getFileContentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected