Handle.hasSub

Checks whether the element @id exists in the SVG document.

class Handle
bool
hasSub
(
string id
)

Parameters

id string

an element's id within the SVG, starting with "##", for example, "##layer1".

Return Value

Type: bool

%TRUE if @id exists in the SVG document

Meta

Since

2.22