summaryrefslogtreecommitdiff
path: root/node_modules/locutus/php/array/array_key_exists.js.map
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/locutus/php/array/array_key_exists.js.map')
-rw-r--r--node_modules/locutus/php/array/array_key_exists.js.map1
1 files changed, 0 insertions, 1 deletions
diff --git a/node_modules/locutus/php/array/array_key_exists.js.map b/node_modules/locutus/php/array/array_key_exists.js.map
deleted file mode 100644
index db4dbba..0000000
--- a/node_modules/locutus/php/array/array_key_exists.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"sources":["../../../src/php/array/array_key_exists.js"],"names":["module","exports","array_key_exists","key","search","constructor","Array","Object"],"mappings":";;AAAAA,OAAOC,OAAP,GAAiB,SAASC,gBAAT,CAA2BC,GAA3B,EAAgCC,MAAhC,EAAwC;AAAE;AACzD;AACA;AACA;AACA;AACA;;AAEA,MAAI,CAACA,MAAD,IAAYA,OAAOC,WAAP,KAAuBC,KAAvB,IAAgCF,OAAOC,WAAP,KAAuBE,MAAvE,EAAgF;AAC9E,WAAO,KAAP;AACD;;AAED,SAAOJ,OAAOC,MAAd;AACD,CAZD","file":"array_key_exists.js","sourcesContent":["module.exports = function array_key_exists (key, search) { // eslint-disable-line camelcase\n // discuss at: http://locutus.io/php/array_key_exists/\n // original by: Kevin van Zonneveld (http://kvz.io)\n // improved by: Felix Geisendoerfer (http://www.debuggable.com/felix)\n // example 1: array_key_exists('kevin', {'kevin': 'van Zonneveld'})\n // returns 1: true\n\n if (!search || (search.constructor !== Array && search.constructor !== Object)) {\n return false\n }\n\n return key in search\n}\n"]} \ No newline at end of file