mirror of
https://github.com/sbrow/strings.git
synced 2025-12-29 15:17:38 -05:00
4 lines
246 B
TypeScript
4 lines
246 B
TypeScript
export declare function wordsLazy(str: string, pattern?: RegExp): Generator<string, void, unknown>;
|
|
export declare function words(str: string, pattern?: RegExp): string[];
|
|
export declare function wordCount(str: string, pattern?: RegExp): number;
|