Update index.js
This commit is contained in:
parent
9b9e7aeee4
commit
61dc2db6cb
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
|
@ -17,7 +17,7 @@ const is = value => {
|
|||
return 'undefined';
|
||||
}
|
||||
|
||||
if (value === 'boolean') {
|
||||
if (type === 'boolean') {
|
||||
return 'boolean';
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue