hasClass Function

Returns "true" if the node has the specified class applied.

Summary

ElementFunction
ReturnsBoolean

Arguments

cssString[required] Class to search for.

Example

handler.hasClass('my-class');
CodeMessageLineFile
2count(): Parameter must be an array or an object that implements Countable224/home2/njsorg/public_html/pagetype/content/pages/en/docml.viewer.php