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

x/deepmergets/dist/deno/types/utils.ts>IsSet

Deeply merge 2 or more objects respecting type information.
Go to Latest
type alias IsSet
import { type IsSet } from "https://deno.land/x/deepmergets@v7.1.0/dist/deno/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>