subscript(dynamicMember:)
Gets a binding to the value of a specified key path.
Declaration
@MainActor @preconcurrency subscript<Subject>(dynamicMember keyPath: ReferenceWritableKeyPath<ObjectType, Subject>) -> Binding<Subject> { get }Parameters
- keyPath:
A key path to a specific value.
Return Value
A new binding.