@technobuddha/library
Version:
A large library of useful functions
9 lines (8 loc) • 310 B
TypeScript
/**
* Splits the input string into an array of words.
* @param input - The string to tokenize.
* @returns An array of words found in the input string. Returns an empty array if no matches are found.
* @group Programming
* @category Variables
*/
export declare function tokenize(input: string): string[];