@putkoff/abstract-utilities 0.1.226 → 0.1.228

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