@rojo2/is-string

1.0.2 • Public • Published

Is string

Travis CI

import isString from "@rojo2/is-string"

isString("Hello, World!"); // true
isString(new String("Hola")); // true
isString(null); // false
isString(undefined); // false
isString(1); // false
isString({}); // false
isString([]); // false

Made with ❤️ by ROJO 2 (http://rojo2.com)

Readme

Keywords

Package Sidebar

Install

npm i @rojo2/is-string

Weekly Downloads

3

Version

1.0.2

License

MIT

Unpacked Size

2.67 kB

Total Files

5

Last publish

Collaborators

  • aitormm
  • azazeln28