Contents

subscript(dynamicMember:)

Returns the attribute that corresponds to a specified key path.

Declaration

@preconcurrency subscript<K>(dynamicMember keyPath: KeyPath<AttributeDynamicLookup, K>) -> K.Value? where K : AttributedStringKey, K.Value : Sendable { get set }

See Also

Accessing Attributes