tornadofx / tornadofx / hasClass

hasClass

fun <T : Styleable> T.hasClass(className: String): Boolean

fun <T : Styleable> T.hasClass(cssClass: CssRule): Boolean

Check if this Node has the given type safe css class. Pseudo classes are also supported.