---
title: label
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtl4compiler/label
---

# label

Returns the optional label you specify at creation time.

## Declaration

```swift
var label: String? { get }
```
