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

x/enum/lib/enumItem.js>default#is

Enum is a javascript module that introduces the Enum Type. It works for node.js, in the browser and for deno.
Latest
method default.prototype.is
import { default } from "https://deno.land/x/enum@v3.0.4/lib/enumItem.js";

Checks if the EnumItem is the same as the passing object.

Parameters

key

The object to check with.