Check if a value is undefined or not.
- JavaScript 100%
| example | ||
| lib | ||
| test | ||
| .gitignore | ||
| CONTRIBUTING.md | ||
| DOCUMENTATION.md | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
is-undefined
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 isundefined,falseotherwise.
😋 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 NodeJSobj-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 viewstilda—Tiny module for building command line tools.