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