def next_cycle_erased
import bendvy-ecs-core@0.1.0.3/relation_graph.bend as RelationGraphimport Base
import entity_key.bend as K
95def next_cycle_erased(-S: Data,current: Maybe<&2,K.Key>,next: K.Key -> Bool) -> Bool:
96 match current:
97 case None{}: False{}
98 case Some{id}: next(id)