FunctionSelect: Select a function that passes a condition. A functional alternative to switch-case.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Muthu Kumar 8e823b160f [misc] Bump to v0.0.9 7 years ago
.vscode [misc] debug scripts 7 years ago
spec [tests] Updated tests to reflect no-satisfying-test scenario 7 years ago
.eslintignore [misc] Bump to v0.0.9 7 years ago
.eslintrc.js [eslint] Updated lint rules 7 years ago
.gitignore [lint] Added eslint 7 years ago
LICENSE Initial commit 7 years ago
README.md Initial commit 7 years ago
Select.js [select] Cleanup and refactor 7 years ago
package-lock.json [misc] Bump to v0.0.9 7 years ago
package.json [misc] Bump to v0.0.9 7 years ago

README.md

select-return

Return a function based on a condition. Monadic alternative to switch-case.