@trudb/tru-common-lib 0.0.416 → 0.0.417

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.
@@ -1873,8 +1873,8 @@ class TruUtil {
1873
1873
  }
1874
1874
  return null;
1875
1875
  };
1876
- this.isNumber = (value) => {
1877
- return typeof value === 'number' && isFinite(value);
1876
+ this.isNumeric = (n) => {
1877
+ return !isNaN(parseFloat(n)) && isFinite(n);
1878
1878
  };
1879
1879
  this.isDate = (date) => {
1880
1880
  if (Object.prototype.toString.call(date) === '[object Date]') {