PURISTA API / @purista/core / convertToKebabCase
Function: convertToKebabCase()
convertToKebabCase(
str):string
Defined in: helper/string/convertToKebabCase.impl.ts:13
Converts a string into kebab-case.
Parameters
str
string
Returns
string
Example
ts
convertToKebabCase('SomeText')
// => 'some-text'