isInput method

bool isInput(
  1. Logic net
)

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

Implementation

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