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

Function createInputPseudo

dist-module/jquery.factory.slim.module.js:1305–1309  ·  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

1303 * @param {String} type
1304 */
1305function createInputPseudo( type ) {
1306 return function( elem ) {
1307 return nodeName( elem, "input" ) && elem.type === type;
1308 };
1309}
1310
1311/**
1312 * Returns a function to use in pseudos for buttons

Callers 1

jQueryFactoryWrapperFunction · 0.70

Calls 1

nodeNameFunction · 0.70

Tested by

no test coverage detected