hasExtension method
Determines if the specified extension is supported.
![]() ![]() |
Syntax
object.hasExtension(extension)Parameters
- extension [in]
-
Type: String
A URI string that specifies the extension.
Return value
Type: Boolean
true if the specified extension is supported; otherwise, false.
Standards information
- Scalable Vector Graphics: Basic Data Types and Interfaces, Section 4.5.25
See also
- SVGAElement
- SVGCircleElement
- SVGClipPathElement
- SVGDefsElement
- SVGEllipseElement
- SVGGElement
- SVGImageElement
- SVGLineElement
- SVGMaskElement
- SVGPathElement
- SVGPatternElement
- SVGPolygonElement
- SVGPolylineElement
- SVGRectElement
- SVGSVGElement
- SVGSwitchElement
- SVGTextContentElement
- SVGTextElement
- SVGTextPathElement
- SVGTextPositioningElement
- SVGTSpanElement
- SVGUseElement
Show:

