Skip to main content
Module

x/set_operations/mod.ts>intersection

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

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

Parameters

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