@deboxsoft/module-core
Advanced tools
Comparing version 1.5.19-8 to 1.5.19-9
@@ -60,6 +60,3 @@ 'use strict'; | ||
function isString(value) { | ||
if (value && typeof value.valueOf() === "string") { | ||
return true; | ||
} | ||
return false; | ||
return value && typeof value.valueOf() === "string"; | ||
} | ||
@@ -66,0 +63,0 @@ |
@@ -34,6 +34,3 @@ export { Container, Token } from 'typedi'; | ||
function isString(value) { | ||
if (value && typeof value.valueOf() === "string") { | ||
return true; | ||
} | ||
return false; | ||
return value && typeof value.valueOf() === "string"; | ||
} | ||
@@ -40,0 +37,0 @@ |
{ | ||
"name": "@deboxsoft/module-core", | ||
"version": "1.5.19-8", | ||
"version": "1.5.19-9", | ||
"license": "SEE LICENSE IN LICENSE", | ||
@@ -5,0 +5,0 @@ "maintainers": [ |
/** | ||
* Checks if value is classified as a String primitive or object. | ||
* @param str string | ||
* @example | ||
@@ -11,3 +10,4 @@ * | ||
* // => false | ||
* @param value | ||
*/ | ||
export declare function isString(value: any): boolean; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
31615
27
718