Skip to main content
Module

x/set_operations/mod.ts>difference

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

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

Parameters

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