https://github.com/dbjdbj/dbj.cond
JavaScript without if( ) else ( ) cascades ...
https://github.com/dbjdbj/dbj.cond
cond conditional-statements dbj javascript npm-package switch
Last synced: about 2 months ago
JSON representation
JavaScript without if( ) else ( ) cascades ...
- Host: GitHub
- URL: https://github.com/dbjdbj/dbj.cond
- Owner: DBJDBJ
- License: other
- Created: 2011-08-25T01:38:09.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2024-08-20T18:55:55.000Z (10 months ago)
- Last Synced: 2025-04-09T07:48:45.706Z (about 2 months ago)
- Topics: cond, conditional-statements, dbj, javascript, npm-package, switch
- Language: JavaScript
- Homepage: https://dbj.org/
- Size: 403 KB
- Stars: 4
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
dbj.cond( );
(c) 2009-2024 .. and beyond, by [dbj at dbj dot org™](https://dbj.org)
Licensed under the Apache License, Version 2.0
## Why dbj.cond()
Simple API for avoiding complex if-then-else stunts.
## How is it done
**dbj.cond** is inspired by the LISP COND
conditional statement.## Usage
For overview, usage, tests and such, please go to this [simple manual](man.md).
For a testing project please go to **dbj.cond.test** on the GitHub.
There are (numerous) real life examples proving the quality of this idiom. Please do feel free to send us your code.
We might publish it and discuss it on https://dbj.org**CONTACT+SUPPORT**
- Mailing [email protected]
- GitHub issues page.---
© 2018-2024 by [dbj at dbj dot org™](https://www.dbj.org)