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

Returns this path's structural suffix after after, or null when after is not its ancestor.

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

Legacy, intentionally lossy extraction for type-erased consumers.

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
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.