GoScrobble/web/node_modules/.cache/babel-loader/4fee5d6c7276922540ded3de8a266e9c.json

1 line
1.5 KiB
JSON

{"ast":null,"code":"import eq from './eq.js';\n/**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n\nfunction assocIndexOf(array, key) {\n var length = array.length;\n\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n\n return -1;\n}\n\nexport default assocIndexOf;","map":{"version":3,"sources":["/app/node_modules/lodash-es/_assocIndexOf.js"],"names":["eq","assocIndexOf","array","key","length"],"mappings":"AAAA,OAAOA,EAAP,MAAe,SAAf;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,SAASC,YAAT,CAAsBC,KAAtB,EAA6BC,GAA7B,EAAkC;AAChC,MAAIC,MAAM,GAAGF,KAAK,CAACE,MAAnB;;AACA,SAAOA,MAAM,EAAb,EAAiB;AACf,QAAIJ,EAAE,CAACE,KAAK,CAACE,MAAD,CAAL,CAAc,CAAd,CAAD,EAAmBD,GAAnB,CAAN,EAA+B;AAC7B,aAAOC,MAAP;AACD;AACF;;AACD,SAAO,CAAC,CAAR;AACD;;AAED,eAAeH,YAAf","sourcesContent":["import eq from './eq.js';\n\n/**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction assocIndexOf(array, key) {\n var length = array.length;\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n return -1;\n}\n\nexport default assocIndexOf;\n"]},"metadata":{},"sourceType":"module"}