variant(_:)

public func variant(_ k: AccessEffect) -> ArrowType

Returns the type of the variant k in this bundle.

Requires

k is in the capabilities of self.