MCPcopy Index your code
hub / github.com/JsAaron/jQuery / testContext

Function testContext

2.1.1/test/sizzle.js:450–452  ·  view source on GitHub ↗

* Checks a node for validity as a Sizzle context * @param {Element|Object=} context * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value

( context )

Source from the content-addressed store, hash-verified

448 * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value
449 */
450function testContext( context ) {
451 return context && typeof context.getElementsByTagName !== strundefined && context;
452}
453
454// Expose support vars for convenience
455support = Sizzle.support = {};

Callers 2

SizzleFunction · 0.70
sizzle.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected