{
  "id": "fn-array-uniq",
  "dataComponent": "array",
  "heading": {
    "title": "uniq",
    "badges": ["Array"]
  },
  "synopsis": "Removes duplicate elements from an array, keeping first occurrence.",
  "codeBlocks": [
    "extend(\"array\")\n\nsput( array:uniq([1,2,2,3,1]) )\n# => [1,2,3]"
  ],
  "notes": [
    "Accepts int[], float[], bool[], or str[].",
    "Order of first occurrence preserved."
  ]
}
