is-string

v0.0.2arrow_drop_down
v0.0.2
v0.0.1
STATUS
None
DOWNLOADS
3
VISIBILITY
Public
PUBLISHED
6 years ago
SIZE
525 B
determines whether `str` is a string.
1 contributor
Install is-string as a package?
Copied
npm i @bit/giladshoham.bits13-2.string.is-string
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
import
any of the 1 million components
and packages in Bit or NPM to the example.
import Button from '@bit/grommet.grommet.button';
import Lodash from 'lodash';
toggle layout
No preview available
modifieddraft
chevron_left
chevron_right
string/isString (
val:*
) : boolean

determines whether str is a string. auth v0.0.2

Example
isString(3) // => false
isString('foo') // => true
Argument
val: *
Returns
boolean

Test Summary

#isString() should return false if undefined is passed

Skipped

#isString() should return false if null is passed

Skipped

#isString() should return false if a plain object is passed

Skipped

#isString() should return false if number is passed

Skipped

#isString() should return true if string is passed

Skipped
Help and resources