1.0.2 • Published 4 years ago

is-a-string v1.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

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