doug-wade/tybalt

Add an array validator

Closed this issue · 0 comments

import { array } from '@tybalt/validator';

export default defineComponent({
    name: 't-for',
    props: {
        iterator: {
            validator: compose(required(), array()),
        },
    }
});