`switch` as expression
Summary
Add an expression version of switch
to the library.
Proposal
import { hctiws } from "cont-flow-expr";
const value = hctiws(expression)
.case(value1).then(optionA)
.case(value2).then(optionB)
// .case(valueN).then(optionN)
.default(optionZ);
Edited by Eric Cornelissen