supports

fun supports(property: String, value: String): Boolean(source)

The CSS.supports() static method returns a boolean value indicating if the browser supports a given CSS feature, or not.

MDN Reference


fun supports(conditionText: String): Boolean(source)