subscript(_:)

iOS
15+
macOS
12+
tvOS
15+
watchOS
8+
@preconcurrency subscript<T>(keyPath: KeyPath<AttributeDynamicLookup, T>) -> AttributedString.Runs.AttributesSlice1<T> where T : AttributedStringKey, T.Value : Sendable { get }