48b26e5de95c05105fb40c06b0dafb9b958d7e1485c5d37a22b7bd874e2358e1.json 706 B

1
  1. {"ast":null,"code":"import baseIndexOf from './_baseIndexOf.js';\n\n/**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last string symbol\n * that is not found in the character symbols.\n *\n * @private\n * @param {Array} strSymbols The string symbols to inspect.\n * @param {Array} chrSymbols The character symbols to find.\n * @returns {number} Returns the index of the last unmatched string symbol.\n */\nfunction charsEndIndex(strSymbols, chrSymbols) {\n var index = strSymbols.length;\n while (index-- && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {}\n return index;\n}\nexport default charsEndIndex;","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}