UNPKG

deep-case-crafter

Version:

Transforms deeply nested object, array, Map, and Set keys between common case formats while preserving TypeScript type safety

14 lines (13 loc) 392 B
/** * Checks if a string is in camelCase format * @param str - The string to check * @returns boolean indicating if the string is in camelCase * * @example * ```typescript * isCamelCase('helloWorld') // => true * isCamelCase('hello_world') // => false * ``` * @internal This function is for internal use by the library */ export default function isCamelCase(str: string): boolean;