def kind

bendvy-ecs-core@0.1.0.4 · ordinary_check_relation.bend:12

import bendvy-ecs-core@0.1.0.4/ordinary_check_relation.bend as OrdinaryCheckRelation
import Base
import bendvy-ecs-core@0.1.0.4/ordinary_check_declaration.bend as D
import bendvy-ecs-core@0.1.0.4/relation_types.bend as G

12# All metadata comes from the same closed operational declaration.
13def kind(value:G.RelationKind) -> D.RelationKind:
14  match value:
15    case G.Ordinary{}:D.Ordinary{}
16    case G.Hierarchy{}:D.Hierarchy{}

Uses (2)

Used by (1)