previousWordStop
import { previousWordStop } from 'pixi-silk/text';
function previousWordStop(text: string, index: number): number;
Where a word jump to the left lands: the start of the word before index.
Parameters#
| Parameter | Type |
|---|---|
text | string |
index | number |
Returns#
number