is-it-a-string
v1.0.4
Published
This package will return true if an input is a string and return false if the input is not a string
Downloads
13
Readme
is-it-a-string
Context:
const isstring = require('is-it-a-string')
input = "Hello"
console.log(isstring(input))
Output:
true
Another Example
const isstring = require('is-it-a-string')
input = 1
console.log(isstring(input))
Output:
false