UNPKG

@technobuddha/library

Version:
10 lines (9 loc) 286 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 */ export declare function ensureSuffix(input: string, suffix: string): string; export default ensureSuffix;