{
"id": "fn-array-some",
"dataComponent": "array",
"heading": {
"title": "some",
"badges": ["Array", "PARTIAL"]
},
"synopsis": "Returns true if any element matches the predicate. Partial usage and placeholders supported.",
"codeBlocks": [
"extend(\"array\")\n\narray:some(x => x > 10, [1,10,11])\n// => true\n\nany7 = array:some(x => x == 7)\nany7([1,2,7])\n// => true"
],
"notes": [
"Two arguments: (predicateFn, array).",
"Returns Bool(true) if any matches, else Bool(false).",
"Partial/placeholder usage supported. Alias: array:any."
]
}