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-tail",
  "dataComponent": "array",
  "heading": {
    "title": "tail",
    "badges": ["Array"]
  },
  "synopsis": "Returns a copy of the array without the first element. If the array has 0 or 1 elements, the result is empty.",
  "codeBlocks": [
    "extend(\"array\")\\n\\nsput( array:tail([1,2,3]) )\\n// => [2,3]\\n\\nsput( array:tail([]) )\\n// => []\\n\\n// If you pass a non-array or a single string, it raises an error."
  ],
  "notes": [
    "Accepts exactly one argument: an int[], str[], or bool[].",
    "Returns a new array missing the first element. If the array is empty or length=1, it returns an empty array.",
    "Does not currently support partial usage. Passing multiple arguments triggers an error."
  ]
}