import { _ as __awaiter } from '../tslib.es6-o7ymTKWv.js';

function tryPromise(res) {
    return __awaiter(this, void 0, void 0, function* () {
        return res.then((v) => v).catch(() => undefined);
    });
}

export { tryPromise };
//# sourceMappingURL=try.js.map
