TypeScript String toUpperCase()
Syntax & Examples


Syntax of String.toUpperCase()

The syntax of String.toUpperCase() method is:

toUpperCase(): string

This toUpperCase() method of String converts all the alphabetic characters in a string to uppercase.