is-implemented.js 227 B

1234567
  1. "use strict";
  2. module.exports = function () {
  3. var numberIsFinite = Number.isFinite;
  4. if (typeof numberIsFinite !== "function") return false;
  5. return !numberIsFinite("23") && numberIsFinite(34) && !numberIsFinite(Infinity);
  6. };