function upper upper(text: string): Uppercase<string> Converts the string to uppercase. An alias for toUpperCase(). Examples Example 1 upper(null); // "" upper("Hello world"); // "HELLO WORLD" Parameters text: string Return Type Uppercase<string>