summaryrefslogtreecommitdiff
path: root/node_modules/locutus/php/var/is_double.js.map
blob: 4b9e697bdb3e0ad208114885edbde7d6bc7558a7 (plain) (blame)
1
{"version":3,"sources":["../../../src/php/var/is_double.js"],"names":["module","exports","is_double","mixedVar","_isFloat","require"],"mappings":";;AAAAA,OAAOC,OAAP,GAAiB,SAASC,SAAT,CAAoBC,QAApB,EAA8B;AAAE;AAC/C;AACA;AACA;AACA;AACA;AACA;;AAEA,MAAIC,WAAWC,QAAQ,iBAAR,CAAf;AACA,SAAOD,SAASD,QAAT,CAAP;AACD,CAVD","file":"is_double.js","sourcesContent":["module.exports = function is_double (mixedVar) { // eslint-disable-line camelcase\n  //  discuss at: http://locutus.io/php/is_double/\n  // original by: Paulo Freitas\n  //      note 1: 1.0 is simplified to 1 before it can be accessed by the function, this makes\n  //      note 1: it different from the PHP implementation. We can't fix this unfortunately.\n  //   example 1: is_double(186.31)\n  //   returns 1: true\n\n  var _isFloat = require('../var/is_float')\n  return _isFloat(mixedVar)\n}\n"]}