Is there a nicer way to write this case statement

Yeah I would like doA and doB to be executed for :eq. So this would be the solution. The case solution would only doA for :eq

I would need to extrapolate this further as doA and doB returns stuff but thanks. This is a good start :smile: