Bachir Soussi Chiadmi cefd1c2ad0 updated sys and created publi 6 years ago
..
LICENSE 0611418f7a added whole system from ola4doc 7 years ago
README.md 0611418f7a added whole system from ola4doc 7 years ago
index.js 0611418f7a added whole system from ola4doc 7 years ago
package.json cefd1c2ad0 updated sys and created publi 6 years ago

README.md

is-primitive NPM version Build Status

Returns true if the value is a primitive.

Install with npm

npm i is-primitive --save

Running tests

Install dev dependencies.

npm i -d && npm test

Usage

var isPrimitive = require('is-primitive');
isPrimitive('abc');
//=> true

isPrimitive(42);
//=> true

isPrimitive(false);
//=> true

isPrimitive(true);
//=> true

isPrimitive({});
//=> false

isPrimitive([]);
//=> false

isPrimitive(function(){});
//=> false

Author

Jon Schlinkert

License

Copyright (c) 2014-2015 Jon Schlinkert
Released under the MIT license


This file was generated by verb-cli on March 16, 2015.