hasClassLike
Select elements by testing each of an element's classes for pattern
.
Example
Find all elements that have a class that ends in "bar".
length // 0 because "foobar" is not at the end of the `class` attribute.length // 1
Select elements by testing each of an element's classes for pattern
.
Find all elements that have a class that ends in "bar".
length // 0 because "foobar" is not at the end of the `class` attribute.length // 1
npm i jquery-has-class-like
4
0.0.3
MIT