@bemoje/is-string

1.0.1 • Public • Published

@bemoje/is-string

Returns true if the argument is a string; false otherwise.

Version

NPM version

Travis CI

dependencies

Dependencies

dependencies

Stats

NPM downloads Forks

Donate

Buy Me A Beer donate button PayPal donate button

Installation

npm install @bemoje/is-string
npm install --save @bemoje/is-string
npm install --save-dev @bemoje/is-string

Usage

import isString from '@bemoje/is-string'

isString('')
//=> true

isString('asd')
//=> true

isString(String('asd'))
//=> true

isString(new String('asd'))
//=> true

isString(2)
//=> false

Tests

Uses Jest to test module functionality. Run tests to get coverage details.

npm run test

API

#n

Package Sidebar

Install

npm i @bemoje/is-string

Weekly Downloads

17

Version

1.0.1

License

MIT

Unpacked Size

6.55 kB

Total Files

5

Last publish

Collaborators

  • bemoje