Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 615 Bytes

File metadata and controls

21 lines (12 loc) · 615 Bytes

Home > @skunkteam/types > ValidationMode

ValidationMode type

The validation mode to use.

Signature:

type ValidationMode = 'check' | 'construct';

Remarks

Used by BaseTypeImpl.validate().

  • 'check': Only validate, no auto-casting or parsing performed

  • 'construct': First parse (if applicable), then validate and return the result of the parsing step when successful.