Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

is-def

0.1.1 • Public • Published

is-def Build Status

Check if value is defined

Not null, NaN or undefined

Install

npm install --save is-def

Usage

var isDefined = require('is-def');
isDefined(null); // false
isDefined(undefined); // false
isDefined(NaN); // false
isDefined('hello'); // true

License

MIT

Install

npm i is-def

DownloadsWeekly Downloads

1

Version

0.1.1

License

MIT

Last publish

Collaborators

  • avatar