def chosen_inverse

bendvy-ecs-core@0.1.0.3 · relation_graph.bend:35

import bendvy-ecs-core@0.1.0.3/relation_graph.bend as RelationGraph
import Base
import entity_key.bend as K

35def chosen_inverse(found: Bool,sources: List<&2,K.Key>,next: Unit -> List<&2,K.Key>) -> List<&2,K.Key>:
36  match found:
37    case True{}: sources
38    case False{}: next(Unit{})

Uses (4)

Used by (1)