Lists & arrays
Scalar
list_intersect()
Returns a list containing the distinct elements that are present in both list1 and list2.
Arguments & returns
list_intersect(list1, list2)
Scalar
| Overload link | list1 | list2 |
Returns |
|---|---|---|---|
| #01 | T[] | T[] |
T[] |
Example
Haybarn WASM 1.5.5-rc3 · In your browser
Engine example · Run to view results.