Contents

effectiveLabel

The effective label of this argument. This reflects the semantics of call sites of function declarations without explicit label definitions in Swift.

Declaration

var effectiveLabel: String { get }

Discussion

For example, for a method declared like func hi(a: String) the effective label is a while for a method like func hi(a b: String) or func hi(_ b: String) the label is the explicitly declared one, so a and _ respectively.