JSPM

x-is-string

0.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 872607
  • Score
    100M100P100Q173526F

Simple string test

Package Exports

  • x-is-string

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (x-is-string) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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