UNPKG

@technobuddha/library

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