MCPcopy
hub / github.com/claude-code-best/claude-code / isPDFExtension

Function isPDFExtension

src/utils/pdfUtils.ts:67–70  ·  view source on GitHub ↗
(ext: string)

Source from the content-addressed store, hash-verified

65 * @param ext File extension (with or without leading dot)
66 */
67export function isPDFExtension(ext: string): boolean {
68 const normalized = ext.startsWith('.') ? ext.slice(1) : ext
69 return DOCUMENT_EXTENSIONS.has(normalized.toLowerCase())
70}

Callers 4

validateInputFunction · 0.85
callInnerFunction · 0.85
tryGetPDFReferenceFunction · 0.85
generateFileAttachmentFunction · 0.85

Calls 1

hasMethod · 0.45

Tested by

no test coverage detected