• Converts an identifier from CamelCase to snake_case.

    Parameters

    • name: string
    • separator: string = "-"

    Returns string