asTyped<PortType extends Logic> method

TypedPortReference<PortType> asTyped<PortType extends Logic>()

Returns this reference as a TypedPortReference when its root port is a PortType.

Throws a RohdBridgeException if the referenced port is not a PortType.

Implementation

TypedPortReference<PortType> asTyped<PortType extends Logic>() =>
    TypedPortReference<PortType>(this);