isPort method
- Logic signal
inherited
Returns true iff signal is the same Logic as an input, output, or
inOut port of this Module with the same name.
Implementation
bool isPort(Logic signal) =>
isInput(signal) || isOutput(signal) || isInOut(signal);