{
  "comment" : "This is generated by ESQL's AbstractFunctionTestCase. Do not edit it. See ../README.md for how to regenerate it.",
  "type" : "scalar",
  "name" : "reverse",
  "description" : "Returns a new string representing the input string in reverse order.",
  "signatures" : [
    {
      "params" : [
        {
          "name" : "str",
          "type" : "keyword",
          "optional" : false,
          "description" : "String expression. If `null`, the function returns `null`."
        }
      ],
      "variadic" : false,
      "returnType" : "keyword"
    },
    {
      "params" : [
        {
          "name" : "str",
          "type" : "text",
          "optional" : false,
          "description" : "String expression. If `null`, the function returns `null`."
        }
      ],
      "variadic" : false,
      "returnType" : "keyword"
    }
  ],
  "examples" : [
    "ROW message = \"Some Text\" | EVAL message_reversed = REVERSE(message);",
    "ROW bending_arts = \"\uD83D\uDCA7\uD83E\uDEA8\uD83D\uDD25\uD83D\uDCA8\" | EVAL bending_arts_reversed = REVERSE(bending_arts);"
  ],
  "preview" : false,
  "snapshot_only" : false
}
