Files
lo/docs/data/core-kebabcase.md
T
Samuel Berthe fa095e4b4f fix(doc): fix go playground demo URL (#832)
* fix(doc): fix go playground demo URL

* fix(doc): add more go playground demo URL
2026-03-06 00:09:59 +01:00

486 B

name, slug, sourceRef, category, subCategory, playUrl, variantHelpers, similarHelpers, position, signatures
name slug sourceRef category subCategory playUrl variantHelpers similarHelpers position signatures
KebabCase kebabcase string.go#L190 core string https://go.dev/play/p/ZBeMB4-pq45
core#string#kebabcase
core#string#pascalcase
core#string#camelcase
core#string#snakecase
core#string#capitalize
core#string#words
60
func KebabCase(str string) string

Converts a string to kebab-case.

lo.KebabCase("helloWorld")
// "hello-world"