@stemy/ngx-utils 13.1.2 → 13.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1755,7 +1755,7 @@ class StringUtils {
|
|
|
1755
1755
|
return str ? str.charAt(0).toUpperCase() + str.substring(1) : "";
|
|
1756
1756
|
}
|
|
1757
1757
|
static isObjectId(id) {
|
|
1758
|
-
return typeof id === "string" && id.length ==
|
|
1758
|
+
return typeof id === "string" && id.length == 24 && !isNaN(Number("0x" + id));
|
|
1759
1759
|
}
|
|
1760
1760
|
static parseDomain(baseUrl) {
|
|
1761
1761
|
try {
|