@dialpad/dialtone-vue
Version:
Vue component library for Dialpad's design system Dialtone
6 lines (5 loc) • 308 B
JavaScript
const t = (r) => r.term ? typeof r.term == "string" : !1, n = (r) => r.description ? typeof r.description == "string" : !1, s = (r) => Array.isArray(r) ? r.every((e) => !(typeof e != "object" || !t(e) || !n(e))) : !1;
export {
s as itemsValidator
};
//# sourceMappingURL=description-list-validators.js.map