@bemoje/is-string

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

Usage no npm install needed!

<script type="module">
  import bemojeIsString from 'https://cdn.skypack.dev/@bemoje/is-string';
</script>

README

@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