6 lines
132 B
JavaScript
6 lines
132 B
JavaScript
|
function isSVGElement(element) {
|
||
|
return element instanceof SVGElement && element.tagName !== "svg";
|
||
|
}
|
||
|
|
||
|
export { isSVGElement };
|