toUpperCase (Function)

Signature: toUpperCase(s: string) -> string

Description: Converts ASCII letters to uppercase; other bytes are unchanged.

Parameters

  • s (string): The string to transform

Returns: string

Example

toUpperCase("hello")  // "HELLO"
toUpperCase "hello"  // "HELLO"