4D-SVG

SVG_Is_reference_valid

SVG_Is_reference_valid ( svgObject ) -> Function result

Parameter Type   Description
svgObject SVG_Ref Reference of SVG element
Function result Boolean True if reference belongs to an SVG element

Description

The SVG_Is_reference_valid command returns True if the reference passed in the svgObject parameter is that of an element of the SVG tree. If the element does not belong to an SVG tree, the command returns False. If svgObject is not a valid reference, an error is generated.

See also

SVG_References_array