Skip to main content

Home > @jsplumbtoolkit/core > Port > isChildOf

Port.isChildOf() method#

Returns whether or not this port is a child of the given object.

Signature:

isChildOf(v: Vertex | Graph | Edge): boolean;

Parameters#

ParameterTypeDescription
vVertex | Graph | EdgeObject to test if this is a child.

Returns:

boolean