UNPKG

292 BTypeScriptView Raw
1/**
2 * Ger Array Index
3 * @description get array index from given string
4 * @param {string} str
5 * @return {string[]|null}
6 */
7declare const getArrayIndex: {
8 (str: string): RegExpExecArray | null;
9 regexIntegerIndex: RegExp;
10 regexNaNIndex: RegExp;
11};
12export default getArrayIndex;