Function toCamelCase

  • Converts a string to Camel case.

    Parameters

    • str: string

      The input string to be converted.

    Returns string

    The Camel case version of the input string.

    Example

    const inputString = 'to_camel_case';
    const camelCaseString = toCamelCase(inputString);
    console.log(camelCaseString); // "toCamelCase"

Generated using TypeDoc