test-arg
v1.0.4
Published
Return true if arguments are provided
Downloads
3
Maintainers
Readme
test-arg
Turns out
undefined == undefined
is true, butundefined <= undefined
is not.
Install
npm install test-arg
Usage
const testArg = require('test-arg')
testArg('hi') // true
testArg(null) // true
testArg() // false
License
MIT
Author
| | | --------------------------------- | | Pablo Varela |