Skip to main content
Version: Next

ValidationFunctionData

ValidationFunctionData

Represents a validation function that can be loaded from a file. It includes the name of the validation, the path to the file, and the validation function itself.

Signature
interface ValidationFunctionData {
name: string;
path: string;
validate: ValidationFunction;
}

name

property
string

The name of the validation function.

path

property
string

The path to the file where the validation function is defined.

validate

The validation function.