Length

Checks if the given object has exactly the expected number of keys

import Schema from "@rapidom/schema";

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

Last updated