MCPcopy
hub / github.com/mongodb/node-mongodb-native / inspect

Function inspect

docs/2.2/js/jquery.js:7679–7693  ·  view source on GitHub ↗
( dataType )

Source from the content-addressed store, hash-verified

7677 seekingTransport = ( structure === transports );
7678
7679 function inspect( dataType ) {
7680 var selected;
7681 inspected[ dataType ] = true;
7682 jQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) {
7683 var dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR );
7684 if( typeof dataTypeOrTransport === "string" && !seekingTransport && !inspected[ dataTypeOrTransport ] ) {
7685 options.dataTypes.unshift( dataTypeOrTransport );
7686 inspect( dataTypeOrTransport );
7687 return false;
7688 } else if ( seekingTransport ) {
7689 return !( selected = dataTypeOrTransport );
7690 }
7691 });
7692 return selected;
7693 }
7694
7695 return inspect( options.dataTypes[ 0 ] ) || !inspected[ "*" ] && inspect( "*" );
7696}

Callers 15

expand-tasks.mjsFile · 0.50
runCmapTestFunction · 0.50
ejsonFunction · 0.50
testSkipBeforeEachHookFunction · 0.50
testConfigBeforeHookFunction · 0.50
resultCheckFunction · 0.50
specialCheckFunction · 0.50
failOnMismatchedCountFunction · 0.50
compareEventsFunction · 0.50
logFunction · 0.50
maxTimeMS.test.tsFile · 0.50

Calls 1

unshiftMethod · 0.80

Tested by

no test coverage detected