MCPcopy Create free account
hub / github.com/components/jquery / toType

Function toType

jquery.js:65–73  ·  view source on GitHub ↗
( obj )

Source from the content-addressed store, hash-verified

63var support = {};
64
65function toType( obj ) {
66 if ( obj == null ) {
67 return obj + "";
68 }
69
70 return typeof obj === "object" ?
71 class2type[ toString.call( obj ) ] || "object" :
72 typeof obj;
73}
74
75function isWindow( obj ) {
76 return obj != null && obj === obj.window;

Callers 5

isArrayLikeFunction · 0.70
accessFunction · 0.70
jquery.jsFile · 0.70
buildFragmentFunction · 0.70
buildParamsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected