Skip to main content

to_camel

Convert a snake_case string to camelCase.

def to_camel(
snake: str
) - > str

Convert a snake_case string to camelCase.

Parameters

NameTypeDescription
snakestrThe snake_case string to be converted into camelCase format.

Returns

TypeDescription
strThe converted camelCase string.