Skip to main content

Home > @jsplumbtoolkit/core > JsPlumbToolkit > getType

JsPlumbToolkit.getType() method#

Gets the type of the given Object. This is not a type such as Node, Port or Edge - this is the type of the object as defined by your system to identify types; these are the types used to lookup objects in the view.

Signature:

getType(obj: Base): string;

Parameters#

ParameterTypeDescription
objBaseObject to retrieve type for

Returns:

string

The object's type.