MCPcopy Create free account
hub / github.com/freecodexyz/free-code / isValidImagePaste

Function isValidImagePaste

src/types/textInputTypes.ts:367–369  ·  view source on GitHub ↗
(c: PastedContent)

Source from the content-addressed store, hash-verified

365 * ID list stay in sync.
366 */
367export function isValidImagePaste(c: PastedContent): boolean {
368 return c.type === 'image' && c.content.length > 0
369}
370
371/** Extract image paste IDs from a QueuedCommand's pastedContents. */
372export function getImagePasteIds(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected