text: "use strict";
  Object.defineProperty(exports, "__esModule", { value: true });
  function isSwitchOption(option) {
      return option.isSwitch === true;
  }
  exports.isSwitchOption = isSwitchOption;
  function isError(value) {
      return value.error != null;
  }
  exports.isError = isError;
  function findMatchingCommandResultHasError(result) {
      return result.error != null;
  }
  exports.findMatchingCommandResultHasError = findMatchingCommandResultHasError;
  