UNPKG

alwz

Version:

Extendable library for typecasting

37 lines 781 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Registry = void 0; class Registry { constructor() { this._items = new Map(); } get(key) { return this._items.get(key); } set(key, value) { this._items.set(key, value); return this; } del(key) { this._items.delete(key); return this; } has(key) { return this._items.has(key); } keys() { return this._items.keys(); } values() { return this._items.values(); } entries() { return this._items.entries(); } get size() { return this._items.size; } } exports.Registry = Registry; exports.default = Registry; //# sourceMappingURL=Registry.cjs.map