ExecutionCommandPermission.same_kind: def of bendvy-ecs-core@0.1.0.3 Import: import bendvy-ecs-core@0.1.0.3/execution_command_permission.bend as ExecutionCommandPermission Lines 79-83 of bendvy-ecs-core@0.1.0.3/execution_command_permission.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.3/execution_command_permission.bend&start_line=79&end_line=83 import Base import bendvy-ecs-core@0.1.0.3/relation_types.bend as Relation def same_kind(left:Relation.RelationKind,right:Relation.RelationKind) -> Bool: match left right: case Relation.Ordinary{} Relation.Ordinary{}:True{} case Relation.Hierarchy{} Relation.Hierarchy{}:True{} case _ _:False{} Uses (2): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/relation_types.bend&name=RelationKind