Skip to content

DBJDBJ/dbj.cond

Repository files navigation

dbj.cond( );

(c) 2009-2024 .. 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-2024 by dbj at dbj dot org™

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published