summaryrefslogtreecommitdiff
path: root/node_modules/locutus/php/var/is_float.js.map
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/locutus/php/var/is_float.js.map')
-rw-r--r--node_modules/locutus/php/var/is_float.js.map1
1 files changed, 0 insertions, 1 deletions
diff --git a/node_modules/locutus/php/var/is_float.js.map b/node_modules/locutus/php/var/is_float.js.map
deleted file mode 100644
index d31ea40..0000000
--- a/node_modules/locutus/php/var/is_float.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"sources":["../../../src/php/var/is_float.js"],"names":["module","exports","is_float","mixedVar","isFinite"],"mappings":";;AAAAA,OAAOC,OAAP,GAAiB,SAASC,QAAT,CAAmBC,QAAnB,EAA6B;AAAE;AAC9C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAAO,CAACA,QAAD,KAAcA,QAAd,KAA2B,CAACC,SAASD,QAAT,CAAD,IAAuB,CAAC,EAAEA,WAAW,CAAb,CAAnD,CAAP;AACD,CAZD","file":"is_float.js","sourcesContent":["module.exports = function is_float (mixedVar) { // eslint-disable-line camelcase\n // discuss at: http://locutus.io/php/is_float/\n // original by: Paulo Freitas\n // bugfixed by: Brett Zamir (http://brett-zamir.me)\n // improved by: WebDevHobo (http://webdevhobo.blogspot.com/)\n // improved by: RafaƂ Kukawski (http://blog.kukawski.pl)\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_float(186.31)\n // returns 1: true\n\n return +mixedVar === mixedVar && (!isFinite(mixedVar) || !!(mixedVar % 1))\n}\n"]} \ No newline at end of file