I've been searching the web for hours and can't seem to find a hint on how to actually handle optional input ports in my NodeModel's execute
function. According to the documentation, inData
is never null
nor contains null
values.
So how do I check whether an optional input port is connected?