sending(_:)

Creates a binding to the value by sending new values through the given action.

Binding+Observation.swift:359
@MainActor func sending(_ action: CaseKeyPath<Action, Value>) -> UIBinding<Value>

Parameters

action

An action for the binding to send values through.

Returns

A binding.