{"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"]}