Max

Checks if the given array has less than or the same expected number of items

import Schema from "@rapidom/schema";

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

Last updated