@corefunc/corefunc
Advanced tools
Comparing version 0.1.48 to 0.1.49
@@ -0,0 +0,0 @@ "use strict"; |
@@ -19,5 +19,6 @@ "use strict"; | ||
__exportStar(require("./global"), exports); | ||
__exportStar(require("./isNil"), exports); | ||
__exportStar(require("./isNotNil"), exports); | ||
__exportStar(require("./map"), exports); | ||
__exportStar(require("./nil"), exports); | ||
__exportStar(require("./notNil"), exports); | ||
__exportStar(require("./number"), exports); | ||
__exportStar(require("./promise"), exports); | ||
@@ -24,0 +25,0 @@ __exportStar(require("./regexp"), exports); |
@@ -7,5 +7,6 @@ export * from "./arguments"; | ||
export * from "./global"; | ||
export * from "./isNil"; | ||
export * from "./isNotNil"; | ||
export * from "./map"; | ||
export * from "./nil"; | ||
export * from "./notNil"; | ||
export * from "./number"; | ||
export * from "./promise"; | ||
@@ -12,0 +13,0 @@ export * from "./regexp"; |
@@ -15,4 +15,4 @@ "use strict"; | ||
} | ||
return Object.prototype.toString.call(String(value)) === "[object String]"; | ||
return Object.prototype.toString.call(value) === "[object String]"; | ||
} | ||
exports.isString = isString; |
@@ -8,7 +8,7 @@ /** | ||
*/ | ||
export function isString(value: any): value is string { | ||
export function isString(value: any): boolean /* value is string */ { | ||
if (typeof value === "string") { | ||
return true; | ||
} | ||
return Object.prototype.toString.call(String(value)) === "[object String]"; | ||
return Object.prototype.toString.call(value) === "[object String]"; | ||
} |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -70,3 +70,3 @@ { | ||
}, | ||
"version": "0.1.48" | ||
"version": "0.1.49" | ||
} |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ "use strict"; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
626265
967
16397