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

x/enum/lib/enum.js>default#isDefined

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.isDefined
import { default } from "https://deno.land/x/enum@v3.0.4/lib/enum.js";

Return true whether the enumItem parameter passed in is an EnumItem object and has been included as constant of this Enum

Parameters

enumItem