MCPcopy Index your code
hub / github.com/components/jquery / createInputPseudo

Function createInputPseudo

jquery.js:1314–1318  ·  view source on GitHub ↗

* Returns a function to use in pseudos for input types * @param {String} type

( type )

Source from the content-addressed store, hash-verified

1312 * @param {String} type
1313 */
1314function createInputPseudo( type ) {
1315 return function( elem ) {
1316 return nodeName( elem, "input" ) && elem.type === type;
1317 };
1318}
1319
1320/**
1321 * Returns a function to use in pseudos for buttons

Callers 1

jquery.jsFile · 0.70

Calls 1

nodeNameFunction · 0.70

Tested by

no test coverage detected