isPort method

bool isPort(
  1. Logic net
)

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

Implementation

bool isPort(Logic net) => isInput(net) || isOutput(net);