micro-js

micro-js/switch

A functional switch statement.

JavaScript
1
0
No license

Switch is a functional switch statement that allows you to create a mapping of cases to functions, where the first argument determines which function to call with the remaining arguments. It's designed for developers who prefer a functional programming approach and want to replace traditional switch statements with a more composable and testable pattern. The library is particularly useful for those working with functional JavaScript and looking for a clean way to handle multiple conditional branches.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies

Support the repos that depend on this repository

Top contributors

joshrtay's profile
joshrtay
5 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet