diff --git a/index.js b/index.js index 1b4ead8..aa580cd 100644 --- a/index.js +++ b/index.js @@ -17,7 +17,7 @@ const is = value => { return 'undefined'; } - if (value === 'boolean') { + if (type === 'boolean') { return 'boolean'; }