currentWord() function
Home > streplts > currentWord
currentWord() function
Section titled “currentWord() function”Extracts the final contiguous word segment token from an input text sequence line.
Signature:
export declare function currentWord(input: string): string;Parameters
Section titled “Parameters”|
Parameter |
Type |
Description |
|---|---|---|
|
input |
string |
The text stream buffer content. |
Returns:
string
Isolated active phrase slice or empty string. *