functional-conditional
Conditional Logic: The Functional Way
Usage
Turn this:
; switch someValue { case 0: result = 'zero'; break; case 1: result = 'one'; break; case 2: result = 'two'; break;}
Into this:
; ;
License
MIT