orionsoft-react-scripts
Version:
Orionsoft Configuration and scripts for Create React App.
57 lines (38 loc) • 1.05 kB
Markdown
true` if the value is a primitive.
```bash
npm i is-primitive --save
```
Install dev dependencies.
```bash
npm i -d && npm test
```
```js
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**
+ [github/jonschlinkert](https://github.com/jonschlinkert)
+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
Copyright (c) 2014-2015 Jon Schlinkert
Released under the MIT license
***
_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on March 16, 2015._
> Returns `