def current_matches
import bendvy-ecs-core@0.1.0.4/machine.bend as Machineimport Base
169def current_matches(~S: Data,~M: Data,~V: Data,~same: V -> V -> Bool,slot: Slot<S,M,V>,value: V) -> Bool:
170 match slot:
171 case Missing{}: False{}
172 case Present{current,_,_,_}: same(current,value)