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

Function isApp

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

Source from the content-addressed store, hash-verified

44};
45
46const isApp = (filepath: string) => {
47 return path.extname(filepath).toLowerCase() === ".app";
48};
49
50const isPDF = (filepath: string) => {
51 return path.extname(filepath).toLowerCase() === ".pdf";

Callers 2

isTrueDirectoryFunction · 0.85
getFileContentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected