to_snake
Convert a PascalCase, camelCase, or kebab-case string to snake_case.
def to_snake(
camel: string
) - > string
Convert a PascalCase, camelCase, or kebab-case string to snake_case.
Parameters
| Name | Type | Description |
|---|---|---|
| camel | string | The string to convert. |
Returns
| Type | Description |
|---|---|
string | The converted string in snake_case. |