diff options
Diffstat (limited to 'node_modules/locutus/php/funchand/function_exists.js')
-rw-r--r-- | node_modules/locutus/php/funchand/function_exists.js | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/node_modules/locutus/php/funchand/function_exists.js b/node_modules/locutus/php/funchand/function_exists.js deleted file mode 100644 index 5c8aa99..0000000 --- a/node_modules/locutus/php/funchand/function_exists.js +++ /dev/null @@ -1,22 +0,0 @@ -'use strict'; - -module.exports = function function_exists(funcName) { - // eslint-disable-line camelcase - // discuss at: http://locutus.io/php/function_exists/ - // original by: Kevin van Zonneveld (http://kvz.io) - // improved by: Steve Clay - // improved by: Legaev Andrey - // improved by: Brett Zamir (http://brett-zamir.me) - // example 1: function_exists('isFinite') - // returns 1: true - // test: skip-1 - - var $global = typeof window !== 'undefined' ? window : global; - - if (typeof funcName === 'string') { - funcName = $global[funcName]; - } - - return typeof funcName === 'function'; -}; -//# sourceMappingURL=function_exists.js.map
\ No newline at end of file |