Check if a value is undefined or not.
  • JavaScript 100%
Find a file
Ionică Bizău 2169c9b4f1 Updated docs
2016-05-25 13:02:33 +03:00
example Initial 2016-02-17 17:16:39 +02:00
lib Initial 2016-02-17 17:16:39 +02:00
test tests 2016-02-17 17:19:43 +02:00
.gitignore 📝 2016-02-17 17:16:50 +02:00
CONTRIBUTING.md Updated docs 2016-04-26 08:10:49 +03:00
DOCUMENTATION.md Updated docs 2016-04-26 08:10:49 +03:00
LICENSE 📝 2016-02-17 17:16:50 +02:00
package.json ⬆️ 1.0.2 🎉 2016-05-25 13:02:26 +03:00
README.md Updated docs 2016-05-25 13:02:33 +03:00

is-undefined

PayPal AMA Version Downloads Get help on Codementor

Check if a value is undefined or not.

☁️ Installation

$ npm i --save is-undefined

📋 Example

const isUndefined = require("is-undefined");

console.log(isUndefined(undefined));
// => true

console.log(isUndefined(false));
// => false

console.log(isUndefined(null));
// => false

📝 Documentation

isUndefined(input)

Checks if a value is undefined or not.

Params

  • Anything input: The input value.

Return

  • Boolean true, if the input is undefined, false otherwise.

😋 How to contribute

Have an idea? Found a bug? See how to contribute.

💫 Where is this library used?

If you are using this library in one of your projects, add it in this list.

  • cli-box—A library to generate ASCII boxes via NodeJS
  • obj-unflatten—Convert flatten objects in nested ones.
  • powershell—Run PowerShell scripts and commands from Node.js.
  • spooky-element (by Max Rusan)—A lightweight DOM element wrapper with only the essentials (css, on, off, append, prepend ...)
  • spooky-router (by Max Rusan)—The scariest router ever.
  • spooky-view-manager (by Max Rusan)—Manages spooky-element views
  • tilda—Tiny module for building command line tools.

📜 License

MIT © Ionică Bizău