Generic Subscript

subscript(dynamicMember:)

Returns the value of the attribute that the specified key path indicates.

Declaration 宣言

subscript<T>(dynamicMember keyPath: KeyPath<S, T>) -> T.Value? where T : AttributedStringKey { get set }