Label

This method will set a label that can be used in validation error details and messages

import Schema from "@rapidom/schema";

const Validator = Schema.number().label("age");

Last updated

Was this helpful?