From 954583f3d56fbfb60321725f13ad092e536e3737 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 7 Nov 2018 22:10:16 +0100 Subject: Removed node_modules --- node_modules/locutus/php/var/is_float.js | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 node_modules/locutus/php/var/is_float.js (limited to 'node_modules/locutus/php/var/is_float.js') diff --git a/node_modules/locutus/php/var/is_float.js b/node_modules/locutus/php/var/is_float.js deleted file mode 100644 index f8f8871..0000000 --- a/node_modules/locutus/php/var/is_float.js +++ /dev/null @@ -1,17 +0,0 @@ -"use strict"; - -module.exports = function is_float(mixedVar) { - // eslint-disable-line camelcase - // discuss at: http://locutus.io/php/is_float/ - // original by: Paulo Freitas - // bugfixed by: Brett Zamir (http://brett-zamir.me) - // improved by: WebDevHobo (http://webdevhobo.blogspot.com/) - // improved by: RafaƂ Kukawski (http://blog.kukawski.pl) - // note 1: 1.0 is simplified to 1 before it can be accessed by the function, this makes - // note 1: it different from the PHP implementation. We can't fix this unfortunately. - // example 1: is_float(186.31) - // returns 1: true - - return +mixedVar === mixedVar && (!isFinite(mixedVar) || !!(mixedVar % 1)); -}; -//# sourceMappingURL=is_float.js.map \ No newline at end of file -- cgit v1.2.3