Gtk.ThemingEngine.prototype.has_class

function has_class(style_class:String):Boolean {
    // Gjs wrapper for gtk_theming_engine_has_class()
}

Returns true if the currently rendered contents have defined the given class name.

Since 3.0

style_class

class name to look up

Returns

true if engine has @class_name defined