@putkoff/abstract-utilities 0.1.225 → 0.1.227

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.
package/dist/cjs/index.js CHANGED
@@ -1170,11 +1170,7 @@ function getNums() {
1170
1170
  return '0123456789';
1171
1171
  }
1172
1172
  function isNum(obj) {
1173
- const is_num = isType(obj, 'number');
1174
- if (is_num) {
1175
- return is_num;
1176
- }
1177
- return isStrInString(obj, getNums());
1173
+ return !Number.isNaN(Number(obj));
1178
1174
  }
1179
1175
  function getAlphas() {
1180
1176
  return 'abcdefghijklmnopqrstuvwxyz';