split function
The words of a color list: spaces or commas apart, outside parentheses.
import { split } from '@dioramajs/text/shimmer'function split(text: string): string[]Parameters
| Name | Type | Description |
|---|---|---|
text | string |
Defined in packages/text/src/shimmer.ts.