function upper upper(text: string): 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 string