From 61dc2db6cb3fd34199fcdfd74465eaff67328ca1 Mon Sep 17 00:00:00 2001 From: Khaled Al-Ansari Date: Wed, 4 Oct 2017 20:41:21 +0300 Subject: [PATCH] Update index.js --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'; }