Documentation

class Schemamethod

parse()

Parses and validates the input, throwing an error if validation fails.

parse(input: unknown): Schema.Infer<TBuilder>;

Parameters

Return value

The validated and transformed data.

Errors

Throws an error with the validation message if validation fails.

Related