Home > @jsplumbtoolkit/browser-ui > Selection > containsVertex
Selection.containsVertex() method
Returns whether or not the vertex (node/group) with the given id is in the selection.
Signature:
containsVertex(id: string): boolean;
Parameters
Parameter | Type | Description |
---|---|---|
id | string |
Returns:
boolean