Companion

Functions

Link copied to clipboard
fun supports(type: String): Boolean

The supports() static method of the HTMLScriptElement interface provides a simple and consistent method to feature-detect what types of scripts are supported by the user agent.