hasClass

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

Since Kotlin

1.4

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

Since Kotlin

1.8