hasClass

JS
1.1
@DeprecatedSinceKotlin("1.4") fun Element.hasClass(
    cssClass: String
): Boolean
Deprecated: This API is moved to another package, use 'kotlinx.dom.hasClass' instead.

Returns true if the element has the given CSS class style in its 'class' attribute