15 lines
407 B
JavaScript
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; |