isOutput method

bool isOutput(
  1. Logic net
)

Returns true iff net is the same Logic as the output port of this Module with the same name.

Implementation

bool isOutput(Logic net) =>
    _outputs[net.name] == net ||
    (net.isArrayMember && isOutput(net.parentStructure!));