Comment Comment by alexsasharegan This might be our best hope right now: https://github.com/tc39/proposal-pattern-matching parent alexsasharegan 7 years ago