MCPcopy Create free account
hub / github.com/6174/comflowyspace / isVideoFile

Function isVideoFile

packages/common/utils/video.ts:77–86  ·  view source on GitHub ↗
(file: File)

Source from the content-addressed store, hash-verified

75}
76
77function isVideoFile(file: File) {
78 if (file?.name?.endsWith(".webm")) {
79 return true;
80 }
81 if (file?.name?.endsWith(".mp4")) {
82 return true;
83 }
84
85 return false;
86}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected