Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

x-is-string

0.1.0 • Public • Published

x-is-string

Simple string test

Example

var isString = require("x-is-string")
 
isString("hello")
// -> true
 
isString("")
// -> true
 
isString(new String("things"))
// -> true
 
isString(1)
// -> false
 
isString(true)
// -> false
 
isString(new Date())
// -> false
 
isString({})
// -> false
 
isString(null)
// -> false
 
isString(undefined)
// -> false

Installation

npm install x-is-string

Contributors

  • Matt-Esch

MIT Licenced

Keywords

none

install

npm i x-is-string

Downloadsweekly downloads

1,621,133

version

0.1.0

license

none

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability