Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/typebox/src/type/sets/set.ts>SetComplement

Json Schema Type Builder with Static Type Resolution for TypeScript
Go to Latest
function SetComplement
import { SetComplement } from "https://deno.land/x/typebox@0.32.32/src/type/sets/set.ts";

Returns the Complement by omitting elements in T that are in S

Type Parameters

T extends PropertyKey[]
S extends PropertyKey[]

Parameters

T: [...T]
S: [...S]