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

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

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

Extends the existing Enum with a New Map.

Parameters

map

Map to extend from