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

Function elementMatcher

docs/3.3/js/jquery.js:2525–2537  ·  view source on GitHub ↗
( matchers )

Source from the content-addressed store, hash-verified

2523}
2524
2525function elementMatcher( matchers ) {
2526 return matchers.length > 1 ?
2527 function( elem, context, xml ) {
2528 var i = matchers.length;
2529 while ( i-- ) {
2530 if ( !matchers[i]( elem, context, xml ) ) {
2531 return false;
2532 }
2533 }
2534 return true;
2535 } :
2536 matchers[0];
2537}
2538
2539function condense( unmatched, map, filter, context, xml ) {
2540 var elem,

Callers 1

matcherFromTokensFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected