edacation
Version:
Library and CLI for interacting with Yosys and nextpnr.
15 lines • 371 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.exists = void 0;
const promises_1 = require("fs/promises");
const exists = async (...args) => {
try {
await (0, promises_1.access)(...args);
return true;
}
catch (err) {
return false;
}
};
exports.exists = exists;
//# sourceMappingURL=util.js.map