Files
strings/lib/words.d.ts
2023-06-20 17:04:49 -04:00

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;