@mocanvas/mocanvas · function
declare function isExcalidrawClipboardContent(content: unknown): booleanWhether content looks like an Excalidraw clipboard payload.
Checked by its declared type rather than by sniffing for fields, so a
document that merely happens to have an elements array is not mistaken for
one.
mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.