diff options
Diffstat (limited to 'node_modules/locutus/php/var/is_bool.js')
-rw-r--r-- | node_modules/locutus/php/var/is_bool.js | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/node_modules/locutus/php/var/is_bool.js b/node_modules/locutus/php/var/is_bool.js deleted file mode 100644 index eb89b8f..0000000 --- a/node_modules/locutus/php/var/is_bool.js +++ /dev/null @@ -1,15 +0,0 @@ -"use strict"; - -module.exports = function is_bool(mixedVar) { - // eslint-disable-line camelcase - // discuss at: http://locutus.io/php/is_bool/ - // original by: Onno Marsman (https://twitter.com/onnomarsman) - // improved by: CoursesWeb (http://www.coursesweb.net/) - // example 1: is_bool(false) - // returns 1: true - // example 2: is_bool(0) - // returns 2: false - - return mixedVar === true || mixedVar === false; // Faster (in FF) than type checking -}; -//# sourceMappingURL=is_bool.js.map
\ No newline at end of file |