MCPcopy
hub / github.com/jquery/jquery / toType

Function toType

dist-module/jquery.factory.module.js:56–64  ·  view source on GitHub ↗
( obj )

Source from the content-addressed store, hash-verified

54var support = {};
55
56function toType( obj ) {
57 if ( obj == null ) {
58 return obj + "";
59 }
60
61 return typeof obj === "object" ?
62 class2type[ toString.call( obj ) ] || "object" :
63 typeof obj;
64}
65
66function isWindow( obj ) {
67 return obj != null && obj === obj.window;

Callers 5

isArrayLikeFunction · 0.70
accessFunction · 0.70
jQueryFactoryWrapperFunction · 0.70
buildFragmentFunction · 0.70
buildParamsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected