summaryrefslogtreecommitdiff
path: root/node_modules/locutus/php/var/is_integer.js.map
blob: 97ce877894ee0465db3ea701a338275897d44dd7 (plain) (blame)
1
{"version":3,"sources":["../../../src/php/var/is_integer.js"],"names":["module","exports","is_integer","mixedVar","_isInt","require"],"mappings":";;AAAAA,OAAOC,OAAP,GAAiB,SAASC,UAAT,CAAqBC,QAArB,EAA+B;AAAE;AAChD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,MAAIC,SAASC,QAAQ,eAAR,CAAb;AACA,SAAOD,OAAOD,QAAP,CAAP;AACD,CAZD","file":"is_integer.js","sourcesContent":["module.exports = function is_integer (mixedVar) { // eslint-disable-line camelcase\n  //  discuss at: http://locutus.io/php/is_integer/\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_integer(186.31)\n  //   returns 1: false\n  //   example 2: is_integer(12)\n  //   returns 2: true\n\n  var _isInt = require('../var/is_int')\n  return _isInt(mixedVar)\n}\n"]}