UNPKG

@utils-fns/utils

Version:

![npm](https://img.shields.io/npm/v/@utils-fns/utils) [![License](https://img.shields.io/github/license/ccqueiroz/utils-fns)](LICENSE) [![Repository](https://img.shields.io/badge/repository-GitHub-blue.svg)](https://github.com/ccqueiroz/utils-fn)

20 lines 758 B
import { BankCode, BankNames, MapBankData } from '../contracts/paymentSlip'; /** * @returns MapBankData - returns a mapped list with the code and name of the Banks operating in Brazil * * References: @see https://blog.vhsys.com.br/numero-do-banco/ @see https://portal.febraban.org.br/ */ export declare const mapBankData: MapBankData; /** * @param {BankCode} key - bank code * @returns MapBankData - returns the name of the bank by its code */ export declare const filterBankByCode: (key: BankCode) => BankNames; /** * @param {BankCode} name - bank name * @returns MapBankData - returns the code of the bank by its name */ export declare const filterBankByName: (name: BankNames) => BankCode | undefined; //# sourceMappingURL=index.d.ts.map