@web3r/flowerkit
Version:
A collection of more than 60 often used utility JS functions that simplify frontend development.
13 lines • 448 B
TypeScript
/**
* Checks if string written in camelCase
* @param str{String} - source string
* @return {boolean}
* @see https://developer.mozilla.org/en-US/docs/Glossary/Camel_case
* @example
* // How to check if CSS class in camelCase style?
* const classname = "myClass";
* const isCamel = isStrInCamelCase(className);
* console.log(isCamel); // => true
*/
export function isStrInCamelCase(str: string): boolean;
//# sourceMappingURL=index.d.ts.map