summaryrefslogtreecommitdiff
path: root/tools/eslint/node_modules/lodash/_isHostObject.js
diff options
context:
space:
mode:
Diffstat (limited to 'tools/eslint/node_modules/lodash/_isHostObject.js')
-rw-r--r--tools/eslint/node_modules/lodash/_isHostObject.js20
1 files changed, 0 insertions, 20 deletions
diff --git a/tools/eslint/node_modules/lodash/_isHostObject.js b/tools/eslint/node_modules/lodash/_isHostObject.js
deleted file mode 100644
index e598c10e34..0000000000
--- a/tools/eslint/node_modules/lodash/_isHostObject.js
+++ /dev/null
@@ -1,20 +0,0 @@
-/**
- * Checks if `value` is a host object in IE < 9.
- *
- * @private
- * @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is a host object, else `false`.
- */
-function isHostObject(value) {
- // Many host objects are `Object` objects that can coerce to strings
- // despite having improperly defined `toString` methods.
- var result = false;
- if (value != null && typeof value.toString != 'function') {
- try {
- result = !!(value + '');
- } catch (e) {}
- }
- return result;
-}
-
-module.exports = isHostObject;