DBJDBJ / dbj.cond

JavaScript without if( ) else ( ) cascades ...

Home Page:https://dbj.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dbj.cond( );

(c) 2009-2021 .. and beyond, by dbj at dbj dot 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.

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


© 2018-2021 by dbj at dbj dot org™

About

JavaScript without if( ) else ( ) cascades ...

https://dbj.org/

License:Other


Languages

Language:JavaScript 100.0%