Function lowerFirst

  • Converts the first character of string to lower case.

    Parameters

    • str: string = ""

      The string to convert.

    Returns string

    Returns the converted string.

    5.7.0

    lowerFirst('Fred')
    // => 'fred'

    lowerFirst('FRED')
    // => 'fRED'