Quantumbraid's picture
download
raw
284 Bytes
var regExpInputs = /^(?:input|select|textarea|button)$/i;
/**
* Checks if a given element is an input (input, select, textarea or button).
*
* @param node the element to check
*/
export default function isInput(node) {
return node ? regExpInputs.test(node.nodeName) : false;
}

Xet Storage Details

Size:
284 Bytes
·
Xet hash:
72fa74bd44ee201a96aa2801126a6f241e8e40596bf3dc29e9822c325ef555e3

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.