• Returns a copy of the string in which all the case-based characters have had their case swapped

    Example

    swapCase('Hello'); // 'hELLO'
    

    Parameters

    • str: string

    Returns string

Generated using TypeDoc