{
"id": "fn-array-every",
"dataComponent": "array",
"heading": {
"title": "every",
"badges": ["Array", "PARTIAL"]
},
"synopsis": "Returns true if every element matches the predicate. Partial usage and placeholders supported.",
"codeBlocks": [
"extend(\"array\")\n\narray:every(x => x > 0, [1,2,3])\n// => true\n\nallEven = array:every(x => x % 2 == 0)\nallEven([2,4,6])\n// => true"
],
"notes": [
"Two arguments: (predicateFn, array).",
"Returns Bool(true) if all match, else Bool(false).",
"Partial/placeholder usage supported. Alias: array:all."
]
}