Sprotty
Toggle Dark/Light/Auto modeToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeBack to homepage

Function.Is Svggraphics Element

sprotty / isSVGGraphicsElement

Function: isSVGGraphicsElement()

isSVGGraphicsElement(node): node is SVGGraphicsElement

Defined in: packages/sprotty/src/utils/browser.ts:71

Checks whether the given DOM node is an SVG element.

Parameters

node

Node

Returns

node is SVGGraphicsElement