MCPcopy Create free account
hub / github.com/feiyu563/PrometheusAlert / testContext

Function testContext

static/plugins/jquery/jquery.slim.js:1102–1104  ·  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

1100 * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value
1101 */
1102function testContext( context ) {
1103 return context && typeof context.getElementsByTagName !== "undefined" && context;
1104}
1105
1106// Expose support vars for convenience
1107support = Sizzle.support = {};

Callers 2

SizzleFunction · 0.70
jquery.slim.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected