@web3r/flowerkit
Version:
A collection of more than 60 often used utility JS functions that simplify frontend development.
13 lines • 438 B
TypeScript
/**
* Checks if a string written in snake_case
* @param str{String} - source string
* @return {Boolean}
* @see https://developer.mozilla.org/en-US/docs/Glossary/Snake_case
* @example
* // How to check if a string is in snake_case?
* const str = "my_string";
* const isSnake = isStrInSnakeCase(str);
* console.log(isSnake); // => true
*/
export function isStrInSnakeCase(str: string): boolean;
//# sourceMappingURL=index.d.ts.map