Skip to content

upperCase

upperCase(string) → string · String

Convert a string to all uppercase.

  • string (required): the string to convert
utlx
{
  result: upperCase("Hello World"),          // "HELLO WORLD"

  // Use case: normalize API field names
  normalized: mapKeys($input, (key) -> camelCase(key))
  // {"first_name": "Alice"} -> {"firstName": "Alice"}
}

M

Released under AGPL-3.0.