sweetch (npm): Switch as a function
Keywords: functional-programming|javascript|reactjs|switch|typescript