"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isSVGLike = isSVGLike;
exports.isSVG = isSVG;
exports.isSVGSVG = isSVGSVG;
function isSVGLike(leaf_comp) {
    return leaf_comp.isSVG();
}
function isSVG(system, element) {
    const { api: { window: { SVGElement, SVGSVGElement }, }, } = system;
    return element instanceof SVGElement && !(element instanceof SVGSVGElement);
}
function isSVGSVG(system, element) {
    const { api: { window: { SVGSVGElement }, }, } = system;
    return element instanceof SVGSVGElement;
}
//# sourceMappingURL=isSVG.js.map