subscript(_:)

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