WritableKeyPath
A typed property path that replaces a focus and returns the resulting root.
Inheritors
Properties
Functions
Link copied to clipboard
fun <Root, Middle, Value> KeyPath<Root, Middle>.appending(next: KeyPath<Middle, Value>): KeyPath<Root, Value>
Appends a total read path.
fun <Root, Middle, Value> WritableKeyPath<Root, Middle>.appending(next: WritableKeyPath<Middle, Value>): WritableKeyPath<Root, Value>
Appends two writable paths, retaining immutable replacement capability.
Link copied to clipboard
fun <Root, Middle : Any, Value> KeyPath<Root, Middle?>.appendingForceUnwrapped(next: KeyPath<Middle, Value>): KeyPath<Root, Value>
Appends a path after force-unwrapping a nullable focus.
fun <Root, Middle : Any, Value> WritableKeyPath<Root, Middle?>.appendingForceUnwrapped(next: WritableKeyPath<Middle, Value>): WritableKeyPath<Root, Value>
Appends a writable path after force-unwrapping a nullable focus.
Link copied to clipboard
Link copied to clipboard
Returns whether this path identifies a descendant (or the same location as) ancestor.
Link copied to clipboard
Returns whether this path identifies an ancestor (or the same location as) other.
Link copied to clipboard
fun <Root, Middle, Value> KeyPath<Root, Middle>.then(next: KeyPath<Middle, Value>): KeyPath<Root, Value>
Kotlin-friendly spelling of appending.
fun <Root, Middle, Value> WritableKeyPath<Root, Middle>.then(next: WritableKeyPath<Middle, Value>): WritableKeyPath<Root, Value>
Kotlin-friendly spelling of writable appending.
Link copied to clipboard
fun <Root, Middle : Any, Value> KeyPath<Root, Middle?>.thenForceUnwrapped(next: KeyPath<Middle, Value>): KeyPath<Root, Value>
Kotlin-friendly spelling of appendingForceUnwrapped.
fun <Root, Middle : Any, Value> WritableKeyPath<Root, Middle?>.thenForceUnwrapped(next: WritableKeyPath<Middle, Value>): WritableKeyPath<Root, Value>
Kotlin-friendly spelling of writable appendingForceUnwrapped.