[jQuery] hasClass()?

[jQuery] hasClass()?

I was wondering if there is a way to check if an element has a certain
class attached to it? For example $('#something').hasClass('large')
would return true or false.
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/