Gazebo_simulation-Frontend/node_modules/is-primitive
Riddhi Dave f4870cd530 simulator page updates 2020-12-22 09:59:14 -05:00
..
LICENSE React files 2020-12-21 10:29:31 -05:00
README.md React files 2020-12-21 10:29:31 -05:00
index.js React files 2020-12-21 10:29:31 -05:00
package.json simulator page updates 2020-12-22 09:59:14 -05:00

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.