UNPKG

@web3r/flowerkit

Version:

A collection of more than 60 often used utility JS functions that simplify frontend development.

13 lines 438 B
/** * Checks if a string written in kebab-case * @param str{String} - source string * @return {Boolean} * @see https://developer.mozilla.org/en-US/docs/Glossary/Kebab_case * @example * // How to check if a string is in Kebab-case? * const str = "my-string"; * const isKebab = isStrInKebabCase(str); * console.log(isKebab); // => true */ export function isStrInKebabCase(str: string): boolean; //# sourceMappingURL=index.d.ts.map