feat: Added more functions.

This commit is contained in:
Spencer Brower
2023-05-25 16:41:23 -04:00
parent fabd856ddf
commit a07d4188af
13 changed files with 401 additions and 80 deletions

7
lib/index.d.ts vendored
View File

@@ -1,6 +1,5 @@
export * from './trim';
export declare const startsWith: import("ts-toolbelt/out/Function/Curry").Curry<(needle: string, haystack: string) => boolean>;
export declare const endsWith: import("ts-toolbelt/out/Function/Curry").Curry<(needle: string, haystack: string) => boolean>;
/**
* Trims characters from the left side of a string.
*/
export declare const ltrim: import("ts-toolbelt/out/Function/Curry").Curry<(cutset: string, str: string) => string>;
export declare const afterFirst: import("ts-toolbelt/out/Function/Curry").Curry<(separator: string, str: string) => string>;
export declare const afterLast: import("ts-toolbelt/out/Function/Curry").Curry<(separator: string, str: string) => string>;