Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

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

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

Type Parameters

T extends PropertyKey[]
S extends PropertyKey[]
definition: (T extends [infer L extends PropertyKey, ...infer R extends PropertyKey[]] ? TSetIncludes<S, L> extends true ? TSetIsSubset<R, S> : false : true)