# IsConnectable

## IsConnectable(GraphEditor, NodeEditor, NodeEditor, PortConnector, PortType)

public bool IsConnectable(GraphEditor graphEditor, NodeEditor ownerNodeEditor, NodeEditor targetNodeEditor, PortConnector portConnector, PortType portType) ;

### Description

Determine whether connection is possible.

### Parameters

Parameter Name | Description
--- | ---
graphEditor | Graph editor
ownerNodeEditor | Owner node editor
targetNodeEditor | Target node editor
portConnector | Target port connector
portType | Type of port to connect

### Returns

Returns true if connection is possible. Otherwise returns false.