1.0.0 • Published 10 years ago
is-defined v1.0.0
is-defined 
Check if an identifier is defined
Install
$ npm install --save is-definedUsage
var isDefined = require('is-defined')
isDefined('window')
//=> typeof window !== 'undefined'API
isDefined(identifier) -> string
identifier
Required
Type: string
A JavaScript identifier.
License
MIT © Ben Drucker
1.0.0
10 years ago