Converts string to snake case.
string
The string to convert.
Returns the snake cased string.
toSnakeCase('Hello, world!')// => 'hello_world' Copy
toSnakeCase('Hello, world!')// => 'hello_world'
Converts
string
to snake case.