@cookbook/dot-notation
Version:
Object readings and complex transformations using dot notation syntax.
13 lines (12 loc) • 309 B
TypeScript
/**
* Ger Array Index
* @description get array index from dot notation path string
* @param {string} str
* @return {RegExpExecArray|null}
*/
declare const getArrayIndex: {
(str: string): RegExpExecArray | null;
regexpIntIndex: RegExp;
regexpNaNIndex: RegExp;
};
export default getArrayIndex;