Files
NapCatQQ/.pnpm-store/v3/files/2b/1f8fe31333b48f217acbbbbd35957e9c0e6f6d118e06da21967b98a856ee828359ad90f45672117abdd2dfd88bacd217ab5dad76def0de13849b235ed3f97c
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

12 lines
310 B
Plaintext

import { isSVGElement } from './is-svg-element.mjs';
/**
* Checks if an element is specifically an SVGSVGElement (the root SVG element)
* in a way that works across iframes
*/
function isSVGSVGElement(element) {
return isSVGElement(element) && element.tagName === "svg";
}
export { isSVGSVGElement };