js-logic Logic code bricks for JavaScript. iff( orr( fls , tru ) , ( ) => tru , ( ) => fls ) ; // tru Reference http://programmers.stackexchange.com/a/266635/83434 https://github.com/mcsoto/LogicJS