generaltranslation
Version:
A language toolkit for AI developers
8 lines (7 loc) • 319 B
TypeScript
/**
* Given an indexed ICU string, condenses any select to an argument
* indexVars('Hello {_gt_1, select, other {World}}') => 'Hello {_gt_1}'
* @param {string} icuString - The ICU string to condense.
* @returns {string} The condensed ICU string.
*/
export declare function condenseVars(icuString: string): string;