UNPKG

emmet.sdk

Version:
19 lines 664 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.filterTwoOut = void 0; function filterTwoOut(chains, chainOneName, chainTwoName) { if (chains && chainOneName && chainTwoName) { const chainValues = Object.values(chains); try { return chainValues.filter(chain => chain.name.toLowerCase() !== chainOneName.toLowerCase() && chain.name.toLowerCase() !== chainTwoName.toLowerCase()); } catch (error) { console.error(error); return []; } } return []; } exports.filterTwoOut = filterTwoOut; //# sourceMappingURL=filterTwoOut.js.map