Max

Checks if the given object has less or the same expected number of keys

import Schema from "@rapidom/schema";

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

Last updated