hyTags
HomeHome Getting StartedGetting Started DocumentationDocumentation

class-exists

Checks if the selected element has a specific CSS class
Parameter
Type
Description
name
string
The name of the CSS class to check for
return
bool
Returns true if the element has the class, false otherwise