Checks if a string is in snake_case format.
The input string.
True if the string is snake_case.
isSnakeCase("hello_world") // trueisSnakeCase("hello-world") // false Copy
isSnakeCase("hello_world") // trueisSnakeCase("hello-world") // false
Checks if a string is in snake_case format.