is-implemented.js 180 B

1234567
  1. "use strict";
  2. module.exports = function () {
  3. var trunc = Math.trunc;
  4. if (typeof trunc !== "function") return false;
  5. return (trunc(13.67) === 13) && (trunc(-13.67) === -13);
  6. };