mumu 0.10.0

Lava Mumu is a language for those in the now and that know
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{
  "id": "fn-array-lower",
  "dataComponent": "array",
  "heading": {
    "title": "lower",
    "badges": ["Array"]
  },
  "synopsis": "Converts each string in a str-array to lowercase.",
  "codeBlocks": [
    "extend(\"array\")\\n\\n// Convert all strings in an array to lowercase\\nsput( array:lower([\"Hello\", \"WORLD\", \"Mu\"]) )\\n// => [\"hello\", \"world\", \"mu\"]\\n\\n// If you pass a single string or a non-string array, an error is raised."
  ],
  "notes": [
    "Accepts exactly one argument, which must be a str-array (e.g. [\"Hello\",\"WORLD\"]).",
    "Returns a new array of strings, each converted to lowercase.",
    "If you pass anything else (a single string, int array, bool array, etc.), it raises an error."
  ]
}