isTransitioningTo

infix fun S.isTransitioningTo(target: S): Boolean

Returns true if the segment represents a transition from this value to target.

Must be called within a Segment receiver scope (e.g., inside a transitionSpec lambda).