MCPcopy Index your code
hub / github.com/Blogify/Blogify / testContext

Function testContext

public/assets/assets/scripts/frontend.js:995–997  ·  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

993 * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value
994 */
995function testContext( context ) {
996 return context && typeof context.getElementsByTagName !== "undefined" && context;
997}
998
999// Expose support vars for convenience
1000support = Sizzle.support = {};

Callers 2

SizzleFunction · 0.85
frontend.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected