@trudb/tru-common-lib 0.0.415 → 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,6 +1873,9 @@ class TruUtil {
1873
1873
  }
1874
1874
  return null;
1875
1875
  };
1876
+ this.isNumeric = (n) => {
1877
+ return !isNaN(parseFloat(n)) && isFinite(n);
1878
+ };
1876
1879
  this.isDate = (date) => {
1877
1880
  if (Object.prototype.toString.call(date) === '[object Date]') {
1878
1881
  if (isNaN(date.getTime())) {