UNPKG

alwz

Version:

Extendable library for typecasting

36 lines 670 B
/** * @ignore */ export 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; } } export default Registry; //# sourceMappingURL=Registry.js.map