Home > @jsplumbtoolkit/core > Graph > getType
Graph.getType() method
Gets the type for some data, by running it through the current typeFunction.
Signature:
getType(data: ObjectData): string;
Parameters
Parameter | Type | Description |
---|---|---|
data | ObjectData | Object to get type from. |
Returns:
string
The calculated type for the given object.