ARRAYS_OVERLAP
All functions > ARRAY > ARRAYS_OVERLAP
Returns TRUE if any elements are common between the two arrays.
Signatures
Returns: TRUE if arrays share at least one element, FALSE otherwise
ARRAYS_OVERLAP(array1: ARRAY<T>, array2: ARRAY<T>) → BOOLEAN sql
| Parameter | Type | Required | Description |
|---|---|---|---|
array1 | ARRAY<T> | Yes | First array to check |
array2 | ARRAY<T> | Yes | Second array to check |
Notes
- Returns TRUE if arrays have any common elements
- Returns FALSE if arrays have no common elements
- Empty arrays return false
- Uses element equality comparison
On this page