Dec 2, 2022match case statement with multiple 'or' conditions in each case asked 3 years, 2 months ago modified 1 year, 5 months ago viewed 38k times May 18, 2022you can match directly against the type of v, but you need a value pattern to refer to the types to match, as a "dotless" name is a capture pattern that matches any value. Oct 26, 2021i've been trying to use a match case instead of a million if statements, but anything i try returns the error: