Function getCaptializedStringFromArray

  • Function that captialize each entry of input array and return a string by joining all enteries

    Example

    getCaptializedStringFromArray(['hi', 'i', 'am', 'john', 'doe'])
    returns Hi I Am John Doe

    Returns

    String where each array element is capitalized

    Parameters

    • strArray: string[]

      Array of string which has to be formatted

    Returns string

Generated using TypeDoc