isSafeHtml

View Source

Summary

Checks if a value is a SafeHtml string.

Signature

function isSafeHtml(value: unknown): value is SafeHtml;

Params

value

The value to check

Returns

true if the value is a SafeHtml string