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

Function isImageFile

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

Source from the content-addressed store, hash-verified

60};
61
62const isImageFile = (filepath: string) => {
63 return imageFileExtensions.includes(path.extname(filepath).slice(1).toLowerCase());
64};
65
66const isTextFile = (filepath: string) => {
67 return (

Callers 1

getFileContentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected