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 false with all npm packages installed. Try it out:

var false = require("false")

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

false v0.0.4

A JavaScript port of the Unix utility 'false'. Returns the Boolean value `false`

false

A JavaScript port of the Unix utility 'false'. Returns the Boolean value false

Overview

This module should be used when you need a function that returns the Boolean value false.

Installing

$ npm install false

Usage

Simply require the false module. The export is a function which returns the Boolean value false:

  var f = require('./false')
    , myFalseValue = f();

console.log(myFalseValue === false); // Logs 'true'

Tests

Running the tests requires the Jake JavaScript build tool. In the root project directory, run the following:

$ jake test

Contributing

Please feel free to file bugs or suggest improvements here:

https://github.com/mde/false/issues

Metadata

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