In this code I\'ve written a really useless enum that defines a possible Number with Int or Float.
Number
I can\'t understand how can I access the value that
If you're using guard, you can write like below:
enum Action { case .moveTab(index: Int) } guard let case .moveTab(index) = someAction else { return }