is-a-string

1.0.2 • Public • Published

is-a-string

Returns true if the input is a string.

Install

yarn add is-a-string 
#or
npm install is-a-string

Usage

var isAString = require('is-a-string');

isAString(3);
//=> false
isAString("3");
//=> true
isAString("Hey");
//=> true
isAString([1, 2, 3]);
//=> false

Running tests

yarn 
yarn test

Readme

Keywords

none

Package Sidebar

Install

npm i is-a-string

Weekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

2.85 kB

Total Files

6

Last publish

Collaborators

  • erons