Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deepmergets/src/types/utils.ts>IsSet

Deeply merge 2 or more objects respecting type information.
Latest
type alias IsSet
import { type IsSet } from "https://deno.land/x/deepmergets@v7.1.3/src/types/utils.ts";

Returns whether or not the given type is an set.

Note: This may also return true for Maps.

definition: And<Not<IsNever<T>>, T extends Readonly<ReadonlySet<unknown>> ? true : false>