projects
/
dotfiles
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
.gitignore added
[dotfiles/.git]
/
.config
/
coc
/
extensions
/
node_modules
/
coc-prettier
/
node_modules
/
x-is-string
/
README.md
1
# x-is-string
2
3
Simple string test
4
5
## Example
6
7
```js
8
var isString = require("x-is-string")
9
10
isString("hello")
11
// -> true
12
13
isString("")
14
// -> true
15
16
isString(new String("things"))
17
// -> true
18
19
isString(1)
20
// -> false
21
22
isString(true)
23
// -> false
24
25
isString(new Date())
26
// -> false
27
28
isString({})
29
// -> false
30
31
isString(null)
32
// -> false
33
34
isString(undefined)
35
// -> false
36
```
37
38
## Installation
39
40
`npm install x-is-string`
41
42
## Contributors
43
44
- Matt-Esch
45
46
## MIT Licenced