isLinked method
This predicate is true if there is a link in the diagram going from the given port to the given port. This is called by #isValidLink.
This method may be overridden, but we recommend that you call this base method. It is rare that you will want to override this method. Please read the Introduction page on Extensions for how to override methods and how to call this base method. @expose @param {GraphObject} fromport @param {GraphObject} toport @return {boolean}
Implementation
_i2.bool isLinked([
_i3.GraphObject? fromport,
_i3.GraphObject? toport,
]) =>
_i4.callMethod(
this,
'isLinked',
[
fromport ?? _i5.undefined,
toport ?? _i5.undefined,
],
);