isOutputPort property

bool get isOutputPort

Whether this is an output port.

Implementation

bool get isOutputPort => sourceNode.outputPorts.contains(sourcePort);