Function capitalize

  • Capitalizes the first letter of the specified value and returns the result.

    Parameters

    • value: string

      Value to capitalize.

    Returns string

    The specified value capitalized.