Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/set_operations/mod.ts>difference

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

Create a new set with elements in the setA that are not in the setB.

Parameters

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