2016-09-12 10:30:05 +02:00
|
|
|
{
|
|
|
|
"name": "array_intersect",
|
|
|
|
"type": "function",
|
2020-07-02 01:46:48 +01:00
|
|
|
"groups": ["Arrays"],
|
2022-03-18 10:20:28 +01:00
|
|
|
"description": "Returns TRUE if at least one element of array1 exists in array2.",
|
2022-01-07 08:33:29 -05:00
|
|
|
"arguments": [{
|
|
|
|
"arg": "array1",
|
|
|
|
"description": "an array"
|
|
|
|
}, {
|
|
|
|
"arg": "array2",
|
|
|
|
"description": "another array"
|
|
|
|
}],
|
|
|
|
"examples": [{
|
|
|
|
"expression": "array_intersect(array(1,2,3,4),array(4,0,2,5))",
|
2022-03-30 19:31:12 +02:00
|
|
|
"returns": "TRUE"
|
2022-01-07 08:33:29 -05:00
|
|
|
}],
|
2022-01-11 11:17:49 -05:00
|
|
|
"tags": ["array", "element", "exists", "intersection", "overlap"]
|
2016-09-12 10:30:05 +02:00
|
|
|
}
|