main
Last change
on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
394 bytes
|
Rev | Line | |
---|
[d24f17c] | 1 | "use strict";
|
---|
| 2 | Object.defineProperty(exports, "__esModule", { value: true });
|
---|
| 3 | exports.enumToMap = void 0;
|
---|
| 4 | function enumToMap(obj) {
|
---|
| 5 | const res = {};
|
---|
| 6 | Object.keys(obj).forEach((key) => {
|
---|
| 7 | const value = obj[key];
|
---|
| 8 | if (typeof value === 'number') {
|
---|
| 9 | res[key] = value;
|
---|
| 10 | }
|
---|
| 11 | });
|
---|
| 12 | return res;
|
---|
| 13 | }
|
---|
| 14 | exports.enumToMap = enumToMap;
|
---|
| 15 | //# sourceMappingURL=utils.js.map |
---|
Note:
See
TracBrowser
for help on using the repository browser.