UNPKG

@technobuddha/library

Version:
9 lines (8 loc) 305 B
/** * Remove all occurrences of characters from the end of the string * @param input - The string * @param characters - the characters(s) to remove * @group String * @category Operations */ export declare function cleanEnd(input: string, characters?: string | RegExp | (string | RegExp)[]): string;