public/javascripts/yui/dom/dom-debug.js
function(el, className) {
            return Y.Dom.batch(el, Y.Dom._hasClass, className);
        }
function(el, className) {
            return Y.Dom.batch(el, Y.Dom._hasClass, className);
        }
function ( el , className ) { return Y . Dom . batch ( el , Y . Dom . _hasClass , className ) ; }
Determines whether an HTMLElement has the given className.
@method hasClass
@param {String | HTMLElement | Array} el The element or collection to test
@param {String} className the class name to search for
@return {Boolean | Array} A boolean value or array of boolean values
Determines whether an HTMLElement has the given className .