diff options
Diffstat (limited to 'node_modules/es5-ext/boolean/is-boolean.js')
-rw-r--r-- | node_modules/es5-ext/boolean/is-boolean.js | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/node_modules/es5-ext/boolean/is-boolean.js b/node_modules/es5-ext/boolean/is-boolean.js deleted file mode 100644 index 394845f6c..000000000 --- a/node_modules/es5-ext/boolean/is-boolean.js +++ /dev/null @@ -1,10 +0,0 @@ -"use strict"; - -var objToString = Object.prototype.toString, id = objToString.call(true); - -module.exports = function (value) { - return ( - typeof value === "boolean" || - (typeof value === "object" && (value instanceof Boolean || objToString.call(value) === id)) - ); -}; |