(value: string)
| 98 | * @returns {string} Returns the transformed value. |
| 99 | */ |
| 100 | export function toKebabCase(value: string): string { |
| 101 | return String(value).replace(REGEXP_CAMEL_CASE, '$1-$2').toLowerCase(); |
| 102 | } |
| 103 | |
| 104 | const REGEXP_KEBAB_CASE = /-[A-z\d]/g; |
| 105 |
no outgoing calls
no test coverage detected
searching dependent graphs…