UNPKG

@technobuddha/library

Version:
10 lines (9 loc) 301 B
/** * Add a suffix to a string, if it does not already have the suffix * @param input - The string * @param suffix - The suffix * @returns The string followed by the suffix * @group String * @category Construction */ export declare function ensureSuffix(input: string, suffix: string): string;