Poor man's pattern matching in JS Use it like a switch-case that is capable of doing deep equality Unlike switch-case, it cannot assert the data type in the procedure Without a default case, the returned value is undefined Synchronous version
Rest
Generated using TypeDoc
Poor man's pattern matching in JS Use it like a switch-case that is capable of doing deep equality Unlike switch-case, it cannot assert the data type in the procedure Without a default case, the returned value is undefined Synchronous version