MCPcopy Create free account
hub / github.com/OpenIntroStat/ims / createInputPseudo

Function createInputPseudo

libs/jquery-3.5.1/jquery-2.2.4.js:969–974  ·  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

967 * @param {String} type
968 */
969function createInputPseudo( type ) {
970 return function( elem ) {
971 var name = elem.nodeName.toLowerCase();
972 return name === "input" && elem.type === type;
973 };
974}
975
976/**
977 * Returns a function to use in pseudos for buttons

Callers 1

jquery-2.2.4.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected