UNPKG

@technobuddha/library

Version:
16 lines (15 loc) 471 B
/** * Attempt to convert the input string into the same case as the target string * * @remarks The best guess is made to try to figure out what case the target is in: * * lowercase * * UPPERCASE * * Capitalcase * * sMALLCASE * * @param input The input string * @param target The target string * @returns The input in the case case as the target string */ export declare function matchCase(input: string, target: string): string; export default matchCase;