Skip to main content

Home > @jsplumbtoolkit/core > 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

ParameterTypeDescription
idstring

Returns:

boolean