summaryrefslogtreecommitdiff
path: root/node_modules/locutus/php/var/is_bool.js.map
diff options
context:
space:
mode:
authorMarvin Borner2018-11-07 18:02:36 +0100
committerMarvin Borner2018-11-07 18:02:36 +0100
commit824a2d9f587ca017fc71b84d835e72f54f9c87c4 (patch)
tree765267ea4686f752aad1f69930cfee5680cc494a /node_modules/locutus/php/var/is_bool.js.map
parentfe75612e86b493a4e66c4e104e22658679cc014f (diff)
Began rewrite
Diffstat (limited to 'node_modules/locutus/php/var/is_bool.js.map')
-rw-r--r--node_modules/locutus/php/var/is_bool.js.map1
1 files changed, 1 insertions, 0 deletions
diff --git a/node_modules/locutus/php/var/is_bool.js.map b/node_modules/locutus/php/var/is_bool.js.map
new file mode 100644
index 0000000..237b87e
--- /dev/null
+++ b/node_modules/locutus/php/var/is_bool.js.map
@@ -0,0 +1 @@
+{"version":3,"sources":["../../../src/php/var/is_bool.js"],"names":["module","exports","is_bool","mixedVar"],"mappings":";;AAAAA,OAAOC,OAAP,GAAiB,SAASC,OAAT,CAAkBC,QAAlB,EAA4B;AAAE;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAAQA,aAAa,IAAb,IAAqBA,aAAa,KAA1C,CAT2C,CASM;AAClD,CAVD","file":"is_bool.js","sourcesContent":["module.exports = function is_bool (mixedVar) { // eslint-disable-line camelcase\n // discuss at: http://locutus.io/php/is_bool/\n // original by: Onno Marsman (https://twitter.com/onnomarsman)\n // improved by: CoursesWeb (http://www.coursesweb.net/)\n // example 1: is_bool(false)\n // returns 1: true\n // example 2: is_bool(0)\n // returns 2: false\n\n return (mixedVar === true || mixedVar === false) // Faster (in FF) than type checking\n}\n"]} \ No newline at end of file