24 lines
394 B
Plaintext
24 lines
394 B
Plaintext
|
|
{{alias}}( str )
|
|
Converts a string to kebab case.
|
|
|
|
Parameters
|
|
----------
|
|
str: string
|
|
Input string.
|
|
|
|
Returns
|
|
-------
|
|
out: string
|
|
Kebab-cased string.
|
|
|
|
Examples
|
|
--------
|
|
> var out = {{alias}}( 'Hello World!' )
|
|
'hello-world'
|
|
> out = {{alias}}( 'I am a tiny little teapot' )
|
|
'i-am-a-tiny-little-teapot'
|
|
|
|
See Also
|
|
--------
|