How to call final return statement in function taking in enum argument?

OHH yes this is the answer I was looking for! Thank you to both of you for your help! :grin: