mumu 0.11.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-head",
  "dataComponent": "array",
  "heading": {
    "title": "head",
    "badges": ["Array"]
  },
  "synopsis": "Returns the first element of an array. Raises error if empty.",
  "codeBlocks": [
    "extend(\"array\")\n\nsput( array:head([10,20,30]) )\n# => 10"
  ],
  "notes": [
    "One argument: int[], float[], bool[], or str[].",
    "Returns the first element.",
    "Raises error for empty arrays."
  ]
}