def leaf_name
import bendvy-ecs-core@0.1.0.4/ordinary_condition_declaration.bend as OrdinaryConditionDeclarationimport Base
import bendvy-ecs-core@0.1.0.4/world.bend as W
22# Return the condition's authored name, without evaluating its predicate.
23def leaf_name(~S:Data,~C:Type,~R:Type,~E:Data,~predicate:W.World<S,C,R,E> -> W.World<S,C,R,E> & Bool,leaf:Declaration<S,C,R,E,predicate>) -> String:
24 match leaf:
25 case Declaration{name}:name