name

The name of this capture, if the capture is named.

iOS
16.0+
macOS
13.0+
tvOS
16.0+
watchOS
9.0+
var name: String? { get }

If the capture is unnamed, name is nil.