FurBall/uni_modules/tuniaoui-vue3/libs/lodash/_charsEndIndex.ts

11 lines
266 B
TypeScript

import { baseIndexOf } from './_baseIndexOf'
export function charsEndIndex(strSymbols: string[], chrSymbols: string[]) {
let index = strSymbols.length
while (index-- && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {
/* empty */
}
return index
}