Would it be possible in Swift to write a function that takes an enum and an enum case and compare them?
Below is the example use case, how would you write isSameAct
isSameAct