@sap_oss/wdio-qmate-service
Version:
[](https://api.reuse.software/info/github.com/SAP/wdio-qmate-service)[](http
10 lines • 383 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.validateValue = void 0;
function validateValue(value) {
if (typeof value !== "string" && typeof value !== "number") {
throw new Error("value is invalid. It must be of type 'string' or 'number'");
}
}
exports.validateValue = validateValue;
//# sourceMappingURL=inputValidation.js.map