• Converts string to kebab case.

    Parameters

    • Optionalstring: string

      The string to convert.

    Returns string

    Returns the kebab cased string.