Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including dbj.cond with all npm packages installed. Try it out:

var dbjCond = require("dbj.cond")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

dbj.cond v4.0.1

Emulates LISP COND statement behaviour in JavaScript. Comparators used are decoupled and replaceable.


(c) 2009-2018 .. and beyond, by
Licensed under the Apache License, Version 2.0

dbj.cond() by


dbj.cond emulates in javascript the behaviour of the LISP COND conditional statement.

For overview, usage, tests and a such please go to the short online manual on the GitHub project.

For a testing project please go to dbj.cond.test in 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


© 2018 dbj();


RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free