ktongue's picture
download
raw
376 Bytes
"use strict";
exports.__esModule = true;
exports.default = isInput;
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
*/
function isInput(node) {
return node ? regExpInputs.test(node.nodeName) : false;
}
module.exports = exports["default"];

Xet Storage Details

Size:
376 Bytes
·
Xet hash:
fcb4e01c720b5e348a79bcc3006283ad31b20f3586300eb6a20f3e307fd34c73

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