camelToSnakeCase (source code)
- Curried: false
- Failsafe status: alternative available
The camelToSnakeCase
function converts a camelCase string to snake_case.
string
: The string to be converted.
camelToSnakeCase("firstName"); // "first_name"
The camelToSnakeCase
function converts a camelCase string to snake_case.
string
: The string to be converted.camelToSnakeCase("firstName"); // "first_name"