Checks if a class is already applied to element.
Examples
Syntax
hasClass(c)
Parameters
c
{String} name of class to check.
Returns
boolean: a boolean value if element has specified class.
Notice any errors or typos? Please let us know. Please feel free to edit src/dom/p5.Element.js and open a pull request!