2025-06-22 00:12:25 +03:00

14 lines
261 B
JavaScript

// src/utils.ts
function shouldThrowError(throwError, params) {
if (typeof throwError === "function") {
return throwError(...params);
}
return !!throwError;
}
function noop() {
}
export {
noop,
shouldThrowError
};
//# sourceMappingURL=utils.js.map