getOrNull

Kotlin-style function spelling of valueOrNull.


fun <Root, Value> Root.getOrNull(caseKeyPath: CaseKeyPath<Root, Value>): Value?

Intentionally collapses an unmatched root and a matched null focus.