isScriptURL

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

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

MDN Reference