MCPcopy Index your code
hub / github.com/jquery/jquery / toType

Function toType

dist-module/jquery.slim.module.js:51–59  ·  view source on GitHub ↗
( obj )

Source from the content-addressed store, hash-verified

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

Callers 4

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

Calls

no outgoing calls

Tested by

no test coverage detected