β @functional-abstraction/predicate Predicates for JavaScript. See docs. implication( negation( lt( 7 ) ) , gt( 5 ) )( ... ) ; // true π Related https://github.com/jamestalmage/predicate-js