def repeated
import bendvy-ecs-core@0.1.0.4/feature.bend as Featureimport Base
53def repeated(present:Bool,name:String,next:Unit -> Validation) -> Validation:
54 match present:
55 case True{}: Invalid{DuplicateFeature{name}}
56 case False{}: next(Unit{})