@tempots/std
dasherize() function
dasherize
replaces all the occurrances of _
with -
Signature:
dasherize: (s: string) => string
Parameters
Parameter |
Type |
Description |
---|---|---|
s |
string |
The string to dasherize. |
Returns: string
The dasherized string.