Skip to main content
Module

x/set_operations/set_operations.ts>difference

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

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

Parameters

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