WritableKeyPathBase
abstract class WritableKeyPathBase<Root, Value> : KeyPathBase<Root, Value> , WritableKeyPath<Root, Value>
Base class for generated immutable-write key paths.
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
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.