diff options
Diffstat (limited to 'node_modules/locutus/php/funchand/function_exists.js.map')
-rw-r--r-- | node_modules/locutus/php/funchand/function_exists.js.map | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/node_modules/locutus/php/funchand/function_exists.js.map b/node_modules/locutus/php/funchand/function_exists.js.map new file mode 100644 index 0000000..097d186 --- /dev/null +++ b/node_modules/locutus/php/funchand/function_exists.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../../src/php/funchand/function_exists.js"],"names":["module","exports","function_exists","funcName","$global","window","global"],"mappings":";;AAAAA,OAAOC,OAAP,GAAiB,SAASC,eAAT,CAA0BC,QAA1B,EAAoC;AAAE;AACrD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,MAAIC,UAAW,OAAOC,MAAP,KAAkB,WAAlB,GAAgCA,MAAhC,GAAyCC,MAAxD;;AAEA,MAAI,OAAOH,QAAP,KAAoB,QAAxB,EAAkC;AAChCA,eAAWC,QAAQD,QAAR,CAAX;AACD;;AAED,SAAO,OAAOA,QAAP,KAAoB,UAA3B;AACD,CAjBD","file":"function_exists.js","sourcesContent":["module.exports = function function_exists (funcName) { // eslint-disable-line camelcase\n // discuss at: http://locutus.io/php/function_exists/\n // original by: Kevin van Zonneveld (http://kvz.io)\n // improved by: Steve Clay\n // improved by: Legaev Andrey\n // improved by: Brett Zamir (http://brett-zamir.me)\n // example 1: function_exists('isFinite')\n // returns 1: true\n // test: skip-1\n\n var $global = (typeof window !== 'undefined' ? window : global)\n\n if (typeof funcName === 'string') {\n funcName = $global[funcName]\n }\n\n return typeof funcName === 'function'\n}\n"]}
\ No newline at end of file |