node-boolbase

two functions: One that returns true, one that returns false

Description

This very simple module provides two basic functions, one that always returns true (trueFunc) and one that always returns false (falseFunc).

By having only a single instance of these functions around, it's possible to do some nice optimizations. Eg. CSSselect uses these functions to determine whether a selector won't match any elements. If that's the case, the DOM doesn't even have to be touched.

Node.js is an event-based server-side JavaScript engine.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://github.com/fb55/boolbase


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install node-boolbase