Function underscore

  • Function to convert a text to underscore writing (snake-case)

    Returns

    Parameters

    • str: string

      The String to convert.

    • leadingToSmall: boolean = false

      If set to true, the function ensures, that the name is converted without a leading underscore.

    Returns string

Generated using TypeDoc