Update index.js

This commit is contained in:
Khaled Al-Ansari 2017-10-04 20:41:21 +03:00 committed by GitHub
parent 9b9e7aeee4
commit 61dc2db6cb

View file

@ -17,7 +17,7 @@ const is = value => {
return 'undefined';
}
if (value === 'boolean') {
if (type === 'boolean') {
return 'boolean';
}