UNPKG

ggez-banking-sdk

Version:

A Node.js package to handle GGEZ Banking API endpoints, Simplify the process of managing CRUD operations with this efficient and easy-to-use package.

10 lines (9 loc) 318 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = getEnumName; function getEnumName(enumObject, index, translateFile, t) { if (translateFile && t) { return t(`${translateFile}${enumObject[index]?.toString()}`); } return enumObject[index]?.toString(); }