js/OverlayScrollbars.js
function isHTMLElement(o) {
                    var strOwnerDocument = 'ownerDocument';
                    var strHTMLElement = 'HTMLElement';
                    var wnd = o && o[strOwnerDocument] ? (o[strOwnerDocument].parentWindow || window) : window;
                    return (
                        typeof wnd[strHTMLElement] == TYPES.o ? o instanceof wnd[strHTMLElement] : //DOM2
                        o && typeof o == TYPES.o && o !== null && o.nodeType === 1 && typeof o.nodeName == TYPES.s
                    );
                }
function isHTMLElement(o) {
                    var strOwnerDocument = 'ownerDocument';
                    var strHTMLElement = 'HTMLElement';
                    var wnd = o && o[strOwnerDocument] ? (o[strOwnerDocument].parentWindow || window) : window;
                    return (
                        typeof wnd[strHTMLElement] == TYPES.o ? o instanceof wnd[strHTMLElement] : //DOM2
                        o && typeof o == TYPES.o && o !== null && o.nodeType === 1 && typeof o.nodeName == TYPES.s
                    );
                }
function isHTMLElement ( o ) { var strOwnerDocument = 'ownerDocument' ; var strHTMLElement = 'HTMLElement' ; var wnd = o && o [ strOwnerDocument ] ? ( o [ strOwnerDocument ] . parentWindow || window ) : window ; return ( typeof wnd [ strHTMLElement ] == TYPES . o ? o instanceof wnd [ strHTMLElement ] : //DOM2 o && typeof o == TYPES . o && o !== null && o . nodeType === 1 && typeof o . nodeName == TYPES . s ) ; }
Checks whether the given object is a HTMLElement.
@param o The object which shall be checked.
@returns {boolean} True the given object is a HTMLElement, false otherwise.
Checks whether the given object is a HTMLElement .