@dialpad/dialtone
Version:
Dialpad's Dialtone design system monorepo
10 lines (9 loc) • 399 B
JavaScript
import { VALIDATION_MESSAGE_TYPES as e } from "../constants/index.js";
//#region common/validators/index.js
function t(t) {
return t ? t.every((t) => typeof t == "string" ? !0 : typeof t == "object" ? Object.values(e).includes(t?.type) : !1) : !0;
}
var n = { validationMessageValidator: t };
//#endregion
export { n as default, t as validationMessageValidator };
//# sourceMappingURL=index.js.map