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

x/is_what/dist/isSet.d.ts>isSet

JS type check (TypeScript supported) functions like `isPlainObject() isArray()` etc. A simple & small integration.
Latest
function isSet
import { isSet } from "https://deno.land/x/is_what@v5.0.2/dist/isSet.d.ts";

Returns whether the payload is a Set

Parameters

payload: unknown

Returns

payload is Set<unknown>