vm-interface.js 384 B

123456789101112
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.isFail = exports.isSuccess = void 0;
  4. function isSuccess(successOrFail) {
  5. return "error" in successOrFail === false;
  6. }
  7. exports.isSuccess = isSuccess;
  8. function isFail(successOrFail) {
  9. return "error" in successOrFail === true;
  10. }
  11. exports.isFail = isFail;
  12. //# sourceMappingURL=vm-interface.js.map