Home > @jsplumbtoolkit/core > JsPlumbToolkitOptions > portTypeFunction
JsPlumbToolkitOptions.portTypeFunction property
A function to use to determine the type of some port from its data object. By default the Toolkit uses the value of the object's type
property.
Signature:
portTypeFunction?: TypeFunction;