getPropertyType

fun getPropertyType(tagName: String, property: String, elementNs: String? = definedExternally): String?(source)

The getPropertyType() method of the TrustedTypePolicyFactory interface allows web developers to check if a Trusted Type is required for an element's property.

MDN Reference