Module

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

Json Schema Type Builder with Static Type Resolution for TypeScript
Go to Latest
type alias TSetIncludes
import { type TSetIncludes } from "https://dotland.deno.dev/x/typebox@0.33.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[]] ? S extends L ? true : TSetIncludes<R, S> : false)