Socket
Socket
Sign inDemoInstall

is-falsey-x

Package Overview
Dependencies
1
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    is-falsey-x

Test if a given value is falsey.


Version published
Weekly downloads
4.4K
decreased by-13.65%
Maintainers
1
Install size
39.4 kB
Created
Weekly downloads
 

Readme

Source

Travis status Dependency status devDependency status npm version

is-falsey-x

Test if a given value is falsey.

Version: 1.0.3
Author: Xotic750 Xotic750@gmail.com
License: MIT
Copyright: Xotic750

module.exports(value)boolean

This method tests if a given value is falsey.

Kind: Exported function
Returns: boolean - true if the value is falsey: otherwise false.

ParamTypeDescription
value*The value to test.

Example

var isFalsey = require('is-falsey-x');

isFalsey(); // true
isFalsey(0); // true
isFalsey(''); // true
isFalsey(false); // true
isFalsey(null); // true

isFalsey(true); // false
isFalsey([]); // false
isFalsey(1); // false
isFalsey(function () {}); // false

Keywords

FAQs

Last updated on 24 Feb 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc