MCPcopy Index your code
hub / github.com/simstudioai/sim / isEmfFormat

Function isEmfFormat

apps/sim/lib/pptx-renderer/renderer/image-renderer.ts:24–27  ·  view source on GitHub ↗

* Check if a file path is an EMF image.

(path: string)

Source from the content-addressed store, hash-verified

22 * Check if a file path is an EMF image.
23 */
24function isEmfFormat(path: string): boolean {
25 const ext = path.split('.').pop()?.toLowerCase() || ''
26 return ext === 'emf'
27}
28
29// ---------------------------------------------------------------------------
30// Image Rendering

Callers 1

renderImageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected