Documentation

required()

Adds a required check; returns this builder for further chaining.

required(error?: StringConvertible): this;

Related