<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "macOS: 13.0.0 -",
    "tvOS: 16.0.0 -",
    "visionOS: -",
    "watchOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Swift",
  "identifier" : "/documentation/Distributed/RemoteCallArgument/effectiveLabel",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Distributed"
    ],
    "preciseIdentifier" : "s:11Distributed18RemoteCallArgumentV14effectiveLabelSSvp"
  },
  "title" : "effectiveLabel"
}
-->

# effectiveLabel

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

```
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.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)