@mocanvas/mocanvas · function

safeHref

declare function safeHref(value: unknown): string | null

A link href that is safe to render, or null when the scheme is not allowed.

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.