<!--
{
  "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/label",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Distributed"
    ],
    "preciseIdentifier" : "s:11Distributed18RemoteCallArgumentV5labelSSSgvp"
  },
  "title" : "label"
}
-->

# label

The “argument label” of the argument.
The label is the name visible name used in external calls made to this
target, e.g. for `func hello(label name: String)` it is `label`.

```
let label: String?
```

## Discussion

If no label is specified (i.e. `func hi(name: String)`), the `label`,
value is empty, however `effectiveLabel` is equal to the `name`.

In most situations, using `effectiveLabel` is more useful to identify
the user-visible name of this argument.

---

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)