asPort
Casts this PortSpecification as a Port and retrieves its kotlin.Int value. Throws an exception if the PortSpecification is not a Port.
Casts this PortSpecification as a Port and retrieves its kotlin.Int value. Throws an exception if the PortSpecification is not a Port.