hasClass

JS
1.1
@DeprecatedSinceKotlin ( "1.4" , "1.6" ) fun Element . hasClass (
cssClass : String
) : Boolean

(source)
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