From 824a2d9f587ca017fc71b84d835e72f54f9c87c4 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 7 Nov 2018 18:02:36 +0100 Subject: Began rewrite --- node_modules/locutus/php/var/is_scalar.js.map | 1 + 1 file changed, 1 insertion(+) create mode 100644 node_modules/locutus/php/var/is_scalar.js.map (limited to 'node_modules/locutus/php/var/is_scalar.js.map') diff --git a/node_modules/locutus/php/var/is_scalar.js.map b/node_modules/locutus/php/var/is_scalar.js.map new file mode 100644 index 0000000..3f28f10 --- /dev/null +++ b/node_modules/locutus/php/var/is_scalar.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../../src/php/var/is_scalar.js"],"names":["module","exports","is_scalar","mixedVar","test"],"mappings":";;;;AAAAA,OAAOC,OAAP,GAAiB,SAASC,SAAT,CAAoBC,QAApB,EAA8B;AAAE;AAC/C;AACA;AACA;AACA;AACA;AACA;;AAEA,SAAQ,wBAAD,CAA0BC,IAA1B,QAAsCD,QAAtC,yCAAsCA,QAAtC;AAAP;AACD,CATD","file":"is_scalar.js","sourcesContent":["module.exports = function is_scalar (mixedVar) { // eslint-disable-line camelcase\n // discuss at: http://locutus.io/php/is_scalar/\n // original by: Paulo Freitas\n // example 1: is_scalar(186.31)\n // returns 1: true\n // example 2: is_scalar({0: 'Kevin van Zonneveld'})\n // returns 2: false\n\n return (/boolean|number|string/).test(typeof mixedVar)\n}\n"]} \ No newline at end of file -- cgit v1.2.3