UNPKG

regex

Version:

Regex template tag with extended syntax, context-aware interpolation, and always-on best practices

16 lines (15 loc) 484 B
/** Updates the array in place by incrementing each value greater than or equal to the threshold. @param {Array<number>} arr @param {number} threshold */ export function incrementIfAtLeast(arr: Array<number>, threshold: number): void; export const noncapturingDelim: any; /** @param {string} str @param {number} pos @param {string} oldValue @param {string} newValue @returns {string} */ export function spliceStr(str: string, pos: number, oldValue: string, newValue: string): string;