UNPKG

@kamino-finance/klend-sdk

Version:

Typescript SDK for interacting with the Kamino Lending (klend) protocol

13 lines 324 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.setOrAppend = setOrAppend; function setOrAppend(map, key, value) { const existing = map.get(key); if (existing) { existing.push(value); } else { map.set(key, [value]); } } //# sourceMappingURL=map.js.map