@yesstudio/yes-utils
    Preparing search index...

    Function toKebabCase

    • Converts string to kebab case.

      Type Parameters

      • T extends string

      Parameters

      • string: string

        The string to convert.

      Returns T

      Returns the kebab cased string.

      toCamelCase('Hello, world!')
      // => 'hello-world'