lowerCase
Import from @varavel/vdl-plugin-sdk/utils/strings.
Converts a string to lowercase words separated by spaces.
The input is normalized with words, then each token is lowercased and
joined using a single space. This is useful when a readable, sentence-like
representation is preferred over identifier-style separators.
Empty or separator-only inputs return an empty string.
Parameters
| Parameter | Type | Description |
|---|---|---|
str |
string |
String to normalize. |
Returns
string
The lowercased space-separated representation of str.