mirror of
https://github.com/x1xhlol/system-prompts-and-models-of-ai-tools.git
synced 2025-12-17 14:05:12 +00:00
16 lines
484 B
TypeScript
16 lines
484 B
TypeScript
/**
|
|
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;
|