isHTML

fun isHTML(value: ERROR CLASS: Symbol not found for JsAny??): Boolean(source)

The isHTML() method of the TrustedTypePolicyFactory interface returns true if it is passed a valid TrustedHTML object.

MDN Reference