aboutsummaryrefslogtreecommitdiff
path: root/node_modules/es5-ext/string/is-string.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/es5-ext/string/is-string.js')
-rw-r--r--node_modules/es5-ext/string/is-string.js13
1 files changed, 0 insertions, 13 deletions
diff --git a/node_modules/es5-ext/string/is-string.js b/node_modules/es5-ext/string/is-string.js
deleted file mode 100644
index 1b1e86309..000000000
--- a/node_modules/es5-ext/string/is-string.js
+++ /dev/null
@@ -1,13 +0,0 @@
-"use strict";
-
-var objToString = Object.prototype.toString, id = objToString.call("");
-
-module.exports = function (value) {
- return (
- typeof value === "string" ||
- (value &&
- typeof value === "object" &&
- (value instanceof String || objToString.call(value) === id)) ||
- false
- );
-};