x-is-string
Simple string test
Last updated 11 years ago by mattesch .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ gnpm install x-is-string 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.1.0                                ...           latest (11 years ago)

1 Versions

  • 0.1.0                                ...           11 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (1)

Copyright 2013 - present © cnpmjs.org | Home |