Contents

subscript(dynamicMember:)

Returns a binding to the value of a given key path.

Declaration

@MainActor @preconcurrency subscript<T>(dynamicMember keyPath: ReferenceWritableKeyPath<ObjectType, T>) -> Binding<T> { get }

Parameters

  • keyPath:

    A key path to a specific value on the wrapped object.

Return Value

A new binding.