Skip to main content

Variable: ValidationMode

const ValidationMode: object

Validation modes for validating data types.

Type Declaration

Validate

readonly Validate: "validate" = "validate"

Use the validation method of the data type.

JsonSchema

readonly JsonSchema: "json-schema" = "json-schema"

Use the JSON Schema methods of the data type.

Either

readonly Either: "either" = "either"

Use either validation mode.

Both

readonly Both: "both" = "both"

Use both validation modes.