Function kebabCase

  • Converts a string to kebab case.

    Returns

    Returns the kebab cased string.

    Example

    kebabCase('Equipment Class Name')
    // 'equipment-class-name'

    kebabCase('equipment_class_name')
    // 'equipment-class-name'

    Parameters

    • s: string

      The string

    Returns string

Generated using TypeDoc