the-forest/client/node_modules/eslint-plugin-jsx-a11y/lib/util/isDOMElement.js
2024-09-17 20:35:18 -04:00

15 lines
407 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = void 0;
var _ariaQuery = require("aria-query");
/**
* Returns boolean indicating whether the given element is a DOM element.
*/
var isDOMElement = function isDOMElement(tagName) {
return _ariaQuery.dom.has(tagName);
};
var _default = exports["default"] = isDOMElement;
module.exports = exports.default;