{
  "id": "fn-string-upper",
  "dataComponent": "string",
  "heading": {
    "title": "upper",
    "badges": [
      "String"
    ]
  },
  "synopsis": "Converts a single string to uppercase.",
  "codeBlocks": [
    "extend(\"string\")\\n\\nsput( string:upper(\"Hello, world!\") )\\n// => \"HELLO, WORLD!\"\\n\\n# If you pass anything other than a single string, it raises an error."
  ],
  "notes": [
    "The function takes exactly one string argument and returns its uppercase equivalent.",
    "It will fail if given something that is not a single string."
  ]
}
