Function toLowerCase

  • Converts the first character of a string to lower case.

    Parameters

    • str: string

      The input string.

    Returns string

    The input string with the first character in lower case.

    Example

    const inputString = 'World';
    const lowerCaseString = await toLowerCase(inputString);
    console.log(lowerCaseString); // "world"

Generated using TypeDoc