Bachir Soussi Chiadmi cefd1c2ad0 updated sys and created publi | vor 7 Jahren | |
---|---|---|
.. | ||
LICENSE | vor 7 Jahren | |
README.md | vor 7 Jahren | |
index.js | vor 7 Jahren | |
package.json | vor 7 Jahren |
Returns
true
if the value is a primitive.
npm i is-primitive --save
Install dev dependencies.
npm i -d && npm test
var isPrimitive = require('is-primitive');
isPrimitive('abc');
//=> true
isPrimitive(42);
//=> true
isPrimitive(false);
//=> true
isPrimitive(true);
//=> true
isPrimitive({});
//=> false
isPrimitive([]);
//=> false
isPrimitive(function(){});
//=> false
Jon Schlinkert
Copyright (c) 2014-2015 Jon Schlinkert
Released under the MIT license
This file was generated by verb-cli on March 16, 2015.