UNPKG

@n3okill/utils

Version:
8 lines (7 loc) 312 B
/** * Remove given characters from the left side of the string * @param s String to remove the characters from * @param chars The characters to remove if not defined removes empty spaces. * @returns Trimmed string */ export declare function trimLeft(s: string | null | undefined, chars?: string[]): string;