PartialCaseKeyPath

A type-erased-value CaseKeyPath with a known root.

Inheritors

Properties

Link copied to clipboard
abstract val __kpaths_id: PathId

Library-reserved structural identity metadata.

Link copied to clipboard

Library-reserved focused-value type metadata.

Functions

Link copied to clipboard
open fun extractAny(root: Root): Any?

Legacy, intentionally lossy extraction for type-erased consumers.

Link copied to clipboard
abstract fun matchAny(root: Root): CaseMatch<Any?>

Matches while retaining the distinction between an unmatched root and a matched null.

Link copied to clipboard
open fun matches(root: Root): Boolean

Returns true whenever the represented case matched, including for a matched null payload.