Import
import { isHtmlRenderEvent } from "@typed/template";Signatures
export declare function isHtmlRenderEvent(event: unknown): event is HtmlRenderEvent;Why
The guard requires both the HTML discriminant and renderer-transport brand, rejecting structurally similar untrusted objects.
Ownership and lifetime
The guard borrows the value and retains no HTML.
Examples
import { isHtmlRenderEvent, HtmlRenderEvent } from "@typed/template/RenderEvent"
const event = HtmlRenderEvent("<div>Hello</div>", true)
console.log(isHtmlRenderEvent(event)) // trueOther public imports
These import paths expose the same declaration. Each page retains its own public name and signature.