{
  "id": "fn-array-includes",
  "dataComponent": "array",
  "heading": {
    "title": "includes",
    "badges": ["Array", "PARTIAL"]
  },
  "synopsis": "Checks if an array contains a given value. Returns true or false. Supports partial usage and placeholders.",
  "codeBlocks": [
    "extend(\"array\")\n\narray:includes(42, [1,2,3,42])\n// => true\n\n# Partial usage:\nincludes42 = array:includes(42)\nincludes42([0,42,99])\n// => true\n\n# Placeholder usage:\narrPartial = array:includes(_, [3,7,8])\narrPartial(7)\n// => true"
  ],
  "notes": [
    "Takes up to two arguments: (item, array).",
    "Returns Bool(true) if found, Bool(false) if not.",
    "Supports partial usage for either argument."
  ]
}
