Function toFirstLower

  • Converts the first character of a string to upper case. Example: "hello" -> "Hello"

    Type Parameters

    • T extends undefined | string

    Parameters

    • s: T

      The string to convert.

    Returns T

    The converted string.