a zip code crypto-currency system good for red ONLY

isNumeric.js 452B

12345678910
  1. import { isArray } from '../util/isArray';
  2. export function isNumeric(val) {
  3. // parseFloat NaNs numeric-cast false positives (null|true|false|"")
  4. // ...but misinterprets leading-number strings, particularly hex literals ("0x...")
  5. // subtraction forces infinities to NaN
  6. // adding 1 corrects loss of precision from parseFloat (#15100)
  7. return !isArray(val) && (val - parseFloat(val) + 1) >= 0;
  8. }
  9. ;
  10. //# sourceMappingURL=isNumeric.js.map