JS Utils Kit - v0.5.1
    Preparing search index...

    Function isKebabCase

    • Checks if a string is in kebab-case format.

      Parameters

      • value: string

        The input string.

      Returns boolean

      True if the string is kebab-case.

      isKebabCase("hello-world") // true
      isKebabCase("hello_world") // false