a,b |
: | set |

**Returns:** `set`

**Synopsis:** The `intersect` function returns the set
consisting of all elements in both set *a* and set *b*.

**Examples:**

> intersect({1,2,3}, {2,3,4}); > intersect({1,2,3}, {4,5,6});

**See also:** `union`, `subset`, `member`, `minus`