is-implemented.js 197 B

1234567
  1. 'use strict';
  2. module.exports = function () {
  3. var tanh = Math.tanh;
  4. if (typeof tanh !== 'function') return false;
  5. return ((tanh(1) === 0.7615941559557649) && (tanh(Number.MAX_VALUE) === 1));
  6. };