appending
fun <Root, Middle, Value> CaseKeyPath<Root, Middle>.appending(next: CaseKeyPath<Middle, Value>): CaseKeyPath<Root, Value>
Appends two CaseKeyPaths, retaining independent embedding through both cases.
fun <Root, Middle, Value> KeyPath<Root, Middle>.appending(next: KeyPath<Middle, Value>): KeyPath<Root, Value>
Appends a total read path.
This is equivalent to Swift's appending(path:). It is read-only unless both component paths are writable; see the more-specific overload below.
fun <Root, Middle, Value> WritableKeyPath<Root, Middle>.appending(next: WritableKeyPath<Middle, Value>): WritableKeyPath<Root, Value>
Appends two writable paths, retaining immutable replacement capability.
fun <Root : Any, Middle, Value> ReferenceWritableKeyPath<Root, Middle>.appending(next: WritableKeyPath<Middle, Value>): ReferenceWritableKeyPath<Root, Value>
Composition rooted in a reference-writable path remains reference-writable: setting the final focus updates the same outer root instance.