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

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

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

Returns the appropriate EnumItem key.

Parameters

value

The object to get with.