Skip to main content
Module

x/set_operations/mod.ts>intersection

🦕 Deno module which provides basic set operations
Latest
function intersection
import { intersection } from "https://deno.land/x/set_operations@v1.2.0/mod.ts";

Create a new set with elements common to the setA and the setB.

Parameters

setA: Set<T>
setB: Set<T>