Min

Checks if the given array has at least the expected number of items

import Schema from "@rapidom/schema";

const Validator = Schema.array().min(2);

Last updated