MCPcopy Create free account
hub / github.com/dtmilano/AndroidViewClient / isFunction

Function isFunction

docs/_static/jquery-3.6.0.js:77–88  ·  view source on GitHub ↗
( obj )

Source from the content-addressed store, hash-verified

75var support = {};
76
77var isFunction = function isFunction( obj ) {
78
79 // Support: Chrome <=57, Firefox <=52
80 // In some browsers, typeof returns "function" for HTML <object> elements
81 // (i.e., `typeof document.createElement( "object" ) === "function"`).
82 // We don't want to classify *any* DOM node as a function.
83 // Support: QtWeb <=3.8.5, WebKit <=534.34, wkhtmltopdf tool <=0.12.5
84 // Plus for old WebKit, typeof returns "function" for HTML collections
85 // (e.g., `typeof document.getElementsByTagName("div") === "function"`). (gh-4756)
86 return typeof obj === "function" && typeof obj.nodeType !== "number" &&
87 typeof obj.item !== "function";
88 };
89
90
91var isWindow = function isWindow( obj ) {

Callers 10

jquery-3.6.0.jsFile · 0.85
isArrayLikeFunction · 0.85
winnowFunction · 0.85
adoptValueFunction · 0.85
mightThrowFunction · 0.85
accessFunction · 0.85
domManipFunction · 0.85
AnimationFunction · 0.85
addFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected