Newer
Older
vue-indexer / node_modules / @tootallnate / quickjs-emscripten / dist / vm-interface.js
@eugene-sukhodolskiy eugene-sukhodolskiy on 24 Sep 384 bytes v1.0
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isFail = exports.isSuccess = void 0;
function isSuccess(successOrFail) {
    return "error" in successOrFail === false;
}
exports.isSuccess = isSuccess;
function isFail(successOrFail) {
    return "error" in successOrFail === true;
}
exports.isFail = isFail;
//# sourceMappingURL=vm-interface.js.map