{
  "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."
  ]
}
